pssht
latest
SSH server library written in PHP
|
Static Public Member Functions | |
static | getGenerator () |
static | getName () |
Return the name of the algorithm. | |
static | getPrime () |
![]() | |
static | addHandlers (\fpoirotte\Pssht\Transport $transport) |
Additional Inherited Members | |
![]() | |
hash ($data) | |
Diffie-Hellman key exchange with SHA-1 as HASH and Oakley Group 14 [RFC3526] (2048-bit MODP Group); REQUIRED in RFC 4253.
Definition at line 19 of file DHGroup14SHA1.php.
|
static |
Get the generator to use for key exchange.
int | Key exchange generator. |
Implements fpoirotte\Pssht\KEX\DHGroupSHA1Interface.
Definition at line 26 of file DHGroup14SHA1.php.
|
static |
Get the prime number to use for key exchange.
resource | GMP resource with the prime number to use for key exchange. |
Implements fpoirotte\Pssht\KEX\DHGroupSHA1Interface.
Definition at line 31 of file DHGroup14SHA1.php.