pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\KEX\DHGroupSHA1Base Class Reference
+ Inheritance diagram for fpoirotte\Pssht\KEX\DHGroupSHA1Base:

Public Member Functions

 hash ($data)
 

Static Public Member Functions

static addHandlers (\fpoirotte\Pssht\Transport $transport)
 
- Static Public Member Functions inherited from fpoirotte\Pssht\Algorithms\AlgorithmInterface
static getName ()
 Return the name of the algorithm.
 
- Static Public Member Functions inherited from fpoirotte\Pssht\KEX\DHGroupSHA1Interface
static getGenerator ()
 
static getPrime ()
 

Detailed Description

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.

Member Function Documentation

fpoirotte\Pssht\KEX\DHGroupSHA1Base::hash (   $data)

Hash the given data.

Parameters
string$dataData to hash.
Return values
stringHash for the given data.

Implements fpoirotte\Pssht\KEX\KEXInterface.

Definition at line 23 of file DHGroupSHA1Base.php.


The documentation for this class was generated from the following file: