CDH ⇒ KE with bit-string keys (hashed Diffie–Hellman)
Statement
In the random oracle model with oracle , let be a group generator. In hashed Diffie–Hellman , party samples and and sends for ; party samples and sends ; outputs and outputs , applying to the encoding of the group element. Both keys equal , so is perfectly correct, with key space . In the game of key-exchange security relative to , every eavesdropper making at most queries to gives a CDH adversary , which runs once and makes no oracle queries, with
so if CDH is hard for , is a key exchange with bit-string keys — folklore. It is the key exchange of DH76, as presented in GB08 (Section 11.1.1), with its key hashed.
Sketch
Sample lazily and let . Since is uniform and independent of the rest of , the real world is unchanged if the challenger samples , gives it to and sets ; the random world gives but leaves independent, so the two worlds are identical until queries at , and by the fundamental lemma of game playing the advantage is at most the probability of that query in the random world. There , given , simulates the whole view by sampling and answering ‘s queries by lazy sampling, and outputs one of them chosen uniformly, which is with at least times that probability.
Notes
- The factor comes from guessing which query is . A reduction with an oracle deciding whether satisfies , a DDH oracle, tests every query and outputs whenever asks it, so is at most the success probability of a CDH adversary with that oracle — standard.
- Without the random oracle, itself is a key under DDH (DDH ⇒ NIKE), and under CDH alone it is one-way (CDH ⇒ One-way KE (Diffie–Hellman)) — folklore — and a Goldreich–Levin bit of it is a pseudorandom one-bit key (CDH ⇒ NIKE (Diffie–Hellman with a hard-core bit)) — GL89.