Diffie-Helman Assumptions

Decisional Diffie-Helman Assumption (DDH)

The Decisional Diffie-Helman (DDH) assumption in a cyclic group GG with generator gg states that, given gag^a and gbg^b for aa, bb chosen uniformly and independently from {0,...,G1}\{0, . . . , |G| − 1\}, the value gabg^{ab} is computationally indistinguishable from a random group element. Formally, the assumption is that the following two distributions cannot be distinguished, except for negligible advantage over random guessing, by any efficient algorithm:

  • (g,ga,gb,gab)(g, g^a, g^b, g^{ab}) where aa and bb are chosen uniformly at random from {0,...,G1}\{0, . . . , |G| − 1\} and gg from GG.

  • (g,ga,gb,gc)(g, g^a, g^b, g^c) where aa, bb, and cc are chosen uniformly at random from {0,...,G1}\{0, . . . , |G| − 1\} and gg from GG.

If we assume the DDH problem is infeasible to solve in GG, we call GG a DDH-secure group.

Computational Diffie-Helman Assumption (CDH)

The Computational Diffie-Helman (CDH) assumption in a cyclic group GG with generator gg states that, given gg, gag^a, and gbg^b, no efficient algorithm can compute gabg^{ab}. If this is the case for GG, we call GG a CDH-secure group.

Several variations and special cases of CDH exist. For example, the square Computational Diffie–Hellman Assumption assumes that, given gg and gxg^x, it is computationally hard to compute gx2g^{x^2} . The inverse Computational Diffie–Hellman Assumption assumes that, given gg and gxg^x, it is computationally hard to compute gx1g^{x^{−1}}.

Relations

  • DDH is a stronger assumption than CDH in the sense that if one can compute gabg^{ab} given gg, gag^a and gbg^b, then one can also solve the DDH problem of distinguishing (g,ga,gb,gab)(g, g^a, g^b, g^{ab}) from (g,ga,gb,gc)(g, g^a, g^b, g^c) for random a,b,cFpa, b, c ∈ F_p. Given a tuple (g,ga,gb,gc)(g, g^a, g^b, g^c), one simply computes gabg^{ab} and outputs "yes" if and only if gc=gabg^c = g^{ab}. There are groups in which CDH is believed to hold but DDH does not.

  • The DDH assumption is a stronger assumption than hardness of the Discrete Logarithm problem. If one could compute discrete logarithms efficiently in GG, then one could break the DDH assumption in that group: given as input a triple of group elements (g,g1,g2,g3)(g, g_1, g_2, g_3), one could compute the discrete logarithms a,b,ca, b, c of g1,g2,g3g_1, g_2, g_3 in base gg, and check whether c=abc = a·b, outputting "yes" if so. This algorithm would always output "yes" under draws from the first distribution above, and output "yes" with probability just 1/G1/|G| under draws from the second distribution. There are groups in which the DDH assumption is false, yet the discrete logarithm problem is nonetheless believed to be hard.

Last updated