Class Crypto.DH.Parameters
- Description
Diffie-Hellman parameters.
- Variable g
Gmp.mpzCrypto.DH.Parameters.g- Description
Generator.
- Inherit DH_Params
inherit Nettle.DH_Params : DH_Params
- Variable p
Gmp.mpzCrypto.DH.Parameters.p- Description
Prime.
- Variable q
Gmp.mpzCrypto.DH.Parameters.q- Description
Subgroup size.
- Method create
Crypto.DH.Parameters Crypto.DH.Parameters(Gmp.mpz|intp,Gmp.mpz|int|voidg,Gmp.mpz|int|voidq)- Description
Initialize the set of Diffie-Hellman parameters.
- Parameter
p The prime for the group.
- Parameter
g The generator for the group. Defaults to
2.- Parameter
q The order of the group. Defaults to
(p-1)/2.