cryptography
security
Diffie-Hellman
ECDH
mathematics
10 giu 2026
The Diffie-Hellman Key Exchange
A complete explanation of the Diffie-Hellman key exchange: from pre-1976 symmetric cryptography to modular arithmetic, the discrete logarithm problem, the DH algorithm with a numerical example (p=23, g=5), and the elliptic curve variant (ECDH).