Smart.Framework Logo

final class \SmartDhKx
{ } ->

Class: SmartDhKx
Provides methods to implement a secure algorithm for Diffie-Hellman key exchange between a server and a client ; Supports dual operation mode (Int64 or BigInt ; for using BigInt requires the PHP GMP extension ...)
It implements a modified version of the DH algo to provide much more secure shared data ...


class Methods

public function __construct ( bool $useBigInt = false, string $prix = null, string $size = null ) {} @ 
public function getMode ( ) {} -> STRING
public function getBaseGen ( string $size = null ) {} -> STRING
public function getSrvData ( string $basegen ) {} -> ARRAY
public function getSrvShad ( string $ssec, string $cpub ) {} -> STRING
public function getCliData ( string $basegen ) {} -> ARRAY
public function getCliShad ( string $csec, string $spub ) {} -> STRING
public function getIdzShadData ( string $idz ) {} -> ARRAY
public function getData ( ) {} -> ARRAY

class Properties


class Constants



documentation generated on: 2023-10-19 23:15:44 +0000


Smart.Framework © 2009-2023 unix-world.org