The decisional Diffie–Hellman (DDH) assumption is a computational hardness assumption about a certain problem involving discrete logarithms in cyclic groups. It is used as the basis to prove the security of many cryptographic protocols, most notably the ElGamal and Cramer–Shoup cryptosystems.
G
q
g
ga
gb
a,b\inZq
gab
G
This intuitive notion can be formally stated by saying that the following two probability distributions are computationally indistinguishable (in the security parameter,
n=log(q)
(ga,gb,gab)
a
b
Zq
(ga,gb,gc)
a,b,c
Zq
Triples of the first kind are often called DDH triplet or DDH tuples.
The DDH assumption is related to the discrete log assumption. If it were possible to efficiently compute discrete logs in
G
G
(ga,gb,z)
z=gab
logg
ga
z
(gb)a
DDH is considered to be a stronger assumption than the discrete logarithm assumption, because there are groups for which computing discrete logs is believed to be hard (And thus the DL Assumption is believed to be true), but detecting DDH tuples is easy (And thus DDH is false). Because of this, requiring that the DDH assumption holds in a group is believed to be a more restrictive requirement than DL.
The DDH assumption is also related to the computational Diffie–Hellman assumption (CDH). If it were possible to efficiently compute
gab
(ga,gb)
gab
The problem of detecting DDH tuples is random self-reducible, meaning, roughly, that if it is hard for even a small fraction of inputs, it is hard for almost all inputs; if it is easy for even a small fraction of inputs, it is easy for almost all inputs.
When using a cryptographic protocol whose security depends on the DDH assumption, it is important that the protocol is implemented using groups where DDH is believed to hold:
Gq
k
p=kq+1
q
k=2
* | |
Z | |
p/\{1,-1\} |
p=2q+1
\{\{1,-1\},\ldots\{q,-q\}\}
\{x,-x\}
x
* | |
Z | |
p/\{1,-1\}\equiv\{1,\ldots,q\} |
* | |
Z | |
p/\{1,-1\} |
Gq
E
GF(p)
p
E
GF(p)
p
Importantly, the DDH assumption does not hold in the multiplicative group
* | |
Z | |
p |
p
g
* | |
Z | |
p |
ga
a
ga
gb
gab
a
b
ab
gab
The DDH assumption does not hold on elliptic curves over
GF(p)
log2(p)
P,aP,bP,cP
e(P,cP)
e(aP,bP)
ab=c
P
p
. Dan Boneh . The Decision Diffie-Hellman problem . Proceedings of the Third Algorithmic Number Theory Symposium . Lecture Notes in Computer Science . 1423 . 48–63 . 1998 . 10.1007/BFb0054851 . 978-3-540-64657-0 . 10.1.1.461.9971 .