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

Public Member Functions

 hash ($data)
 

Static Public Member Functions

static addHandlers (\fpoirotte\Pssht\Transport $transport)
 
static getName ()
 Return the name of the algorithm.
 
static isAvailable ()
 

Detailed Description

Abstract class for Elliptic Curve Diffie-Hellman key exchange using Curve25519 and SHA-256.

Definition at line 18 of file Curve25519.php.

Member Function Documentation

fpoirotte\Pssht\KEX\LibsshOrg\Curve25519::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 33 of file Curve25519.php.


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