Zend_Crypt_DiffieHellman::__construct
Constructor; if set construct the object using the parameter array to set values for Prime, Generator and Private.
If a Private Key is not set, one will be generated at random.
Signature
public function __construct(string
$prime,
string
$generator,
[string
$privateKey = NULL,
[string
$privateKeyType = self::NUMBER]] )
Parameters
$prime
— string$generator
— string$privateKey
— string$privateKeyType
— string
Returns
- void