pssht
latest
SSH server library written in PHP
|
Public Member Functions | |
hash ($data) | |
Static Public Member Functions | |
static | addHandlers (\fpoirotte\Pssht\Transport $transport) |
![]() | |
static | getName () |
Return the name of the algorithm. | |
Interface for a Key Exchange algorithm.
Definition at line 17 of file KEXInterface.php.
fpoirotte\Pssht\KEX\KEXInterface::hash | ( | $data | ) |
Hash the given data.
string | $data | Data to hash. |
string | Hash for the given data. |
Implemented in fpoirotte\Pssht\KEX\LibsshOrg\Curve25519, fpoirotte\Pssht\KEX\ECDH\Base, and fpoirotte\Pssht\KEX\DHGroupSHA1Base.