Method Crypto.DH.Parameters()->create()
- Method create
Crypto.DH.Parameters Crypto.DH.Parameters(
Gmp.mpz
|int
p
,Gmp.mpz
|int
|void
g
,Gmp.mpz
|int
|void
q
)- 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
.
- Method create
Crypto.DH.Parameters Crypto.DH.Parameters(
DSA_State
dsa
)- Description
Initialize the set of Diffie-Hellman parameters.
- Parameter
dsa
Copy the parameters from this object.
- 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.