The Diffie–Hellman key-exchange protocol [01F4]

First some pre-mathematical intuition:

In the illustration, paint colours are used as a metaphor for numerical data; the mixing of paint is a metaphor for applying efficiently computable arithmetic operations to numbers that are prohibitively difficult to undo. It is important, above, that mixing of paints is a commutative operation, since otherwise Alice and Bob would not end up with the same secret colour. Modular arithmetic provides one source of such operations: modular exponentiation is easy to compute, but the inverse operation (discrete logarithm) is very hard to compute.

Context

Key exchange and encryption [01F2]

Backlinks

Encryption and decryption via modular exponentiation [01F9]

Example. Shamir’s three-pass protocol [01F6]

Key exchange and encryption [01F2]

Related

Illustration. Intuition for the Diffie–Hellman key exchange protocol [01F3]

Modular arithmetic [01D0]