Diffie-Hellman Key Exchange
Diffie-Hellman Key Exchange
The point is to agree on a key that two parties can use for a
symmetric encryption, in such a way that an eavesdropper cannot
obtain the key.
(g A mod p)
Alice Bob
(knows p, g, A) (knows p, g, B)
(g B mod p)