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

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.
 

Detailed Description

Interface for a Key Exchange algorithm.

Definition at line 17 of file KEXInterface.php.

Member Function Documentation

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

Hash the given data.

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

Implemented in fpoirotte\Pssht\KEX\LibsshOrg\Curve25519, fpoirotte\Pssht\KEX\ECDH\Base, and fpoirotte\Pssht\KEX\DHGroupSHA1Base.


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