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. | |
![]() | |
static | getGenerator () |
static | getPrime () |
Abstract class for Diffie-Hellman key exchange with SHA-1 as HASH; intended for groups defined in RFC 4253.
Definition at line 19 of file DHGroupSHA1Base.php.
fpoirotte\Pssht\KEX\DHGroupSHA1Base::hash | ( | $data | ) |
Hash the given data.
string | $data | Data to hash. |
string | Hash for the given data. |
Implements fpoirotte\Pssht\KEX\KEXInterface.
Definition at line 23 of file DHGroupSHA1Base.php.