pssht
latest
SSH server library written in PHP
|
Static Public Member Functions | |
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 DHGroupSHA1Interface.php.
|
static |
Get the generator to use for key exchange.
int | Key exchange generator. |
Implemented in fpoirotte\Pssht\KEX\DHGroup14SHA1, and fpoirotte\Pssht\KEX\DHGroup1SHA1.
|
static |
Get the prime number to use for key exchange.
resource | GMP resource with the prime number to use for key exchange. |
Implemented in fpoirotte\Pssht\KEX\DHGroup14SHA1, and fpoirotte\Pssht\KEX\DHGroup1SHA1.