Class Crypto.DH.Parameters

Inheritance graph
Description

Diffie-Hellman parameters.


Inherit DH_Params

inherit Nettle.DH_Params : DH_Params


Variable g

Gmp.mpz|zero Crypto.DH.Parameters.g

Description

Generator.


Variable p

Gmp.mpz|zero Crypto.DH.Parameters.p

Description

Prime.


Variable q

Gmp.mpz|zero Crypto.DH.Parameters.q

Description

Subgroup size.


Method create

Crypto.DH.Parameters Crypto.DH.Parameters(this_program other)

Description

Initialize the set of Diffie-Hellman parameters.

Parameter other

Copy the parameters from this object.