Diffie-Hellman Key Exchange
- Based on the Decision Diffie-Helman Problem: there is no efficient probabilistic algorithm that given (ga mod n, gb mod n, gc mod n) outputs true if c=ab and false, otherwise.
- Allows two entities to compute a shared key.
- Algorithm :
- Zn* = {1, …, n-1}, n prime and g generator, n and g public.
Compute (gb mod n)a = gab mod n = K
Compute (ga mod n)b = gab mod n = K
Compute and send ga mod n
Compute and send gb mod n