Why it matters
DH enables TLS + Signal + others. Understanding shapes crypto.
Advertisement
The architecture
Alice: A = g^a. Bob: B = g^b.
Shared: A^b = B^a = g^ab.
Classic DH modular; ECDH on elliptic curves.
Advertisement
How it works end to end
Diffie + Hellman 1976.
ECDH modern.
DHE for forward secrecy.
Curve25519 preferred group.