pssht
latest
SSH server library written in PHP
|
Public Member Functions | |
hash ($data) | |
Static Public Member Functions | |
static | addHandlers (\fpoirotte\Pssht\Transport $transport) |
static | isAvailable () |
![]() | |
static | getName () |
Return the name of the algorithm. | |
![]() | |
static | getHashName () |
Abstract class for Elliptic Curve Diffie-Hellman key exchange as defined in RFC 5656.
fpoirotte\Pssht\KEX\ECDH\Base::hash | ( | $data | ) |
Hash the given data.
string | $data | Data to hash. |
string | Hash for the given data. |
Implements fpoirotte\Pssht\KEX\KEXInterface.
|
static |
Determine whether the algorithm is available.
bool | true if the algorithm is available, false otherwise. |
Implements fpoirotte\Pssht\Algorithms\AvailabilityInterface.