Method Crypto.DH.Parameters()->create()
- Method
create
Crypto.DH.Parameters Crypto.DH.Parameters(this_programother)- Description
Initialize the set of Diffie-Hellman parameters.
- Parameter
other Copy the parameters from this object.
- Method
create
Crypto.DH.Parameters Crypto.DH.Parameters(DSA_Statedsa)- Description
Initialize the set of Diffie-Hellman parameters.
- Parameter
dsa Copy the parameters from this object.
- 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.