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

Public Member Functions

 hash ($data)
 

Static Public Member Functions

static addHandlers (\fpoirotte\Pssht\Transport $transport)
 
static isAvailable ()
 
- 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\ECDH\BaseInterface
static getHashName ()
 

Detailed Description

Abstract class for Elliptic Curve Diffie-Hellman key exchange as defined in RFC 5656.

Definition at line 18 of file Base.php.

Member Function Documentation

fpoirotte\Pssht\KEX\ECDH\Base::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 31 of file Base.php.

static fpoirotte\Pssht\KEX\ECDH\Base::isAvailable ( )
static

Determine whether the algorithm is available.

Return values
booltrue if the algorithm is available, false otherwise.

Implements fpoirotte\Pssht\Algorithms\AvailabilityInterface.

Definition at line 36 of file Base.php.


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