Type Definition proj_crypto::asymmetric::commitments::DHParams [] [src]

type DHParams = (Mpz, Mpz, Mpz, Mpz);

(p, q, g, h) where g and h are the bases suitable to be raised to a power forming the discrete logarithm problem, q is the subgroup in Z_p in which we will perform computations and p is the large prime which forms the large group. Calculations are done modulo p.