The key exchange problem
Alice and Bob want to communicate confidentially over a channel that Eve can read. They have never met. How do they establish a shared secret key?
Before 1976 this seemed impossible — the key had to be transmitted somehow, and any transmission Eve could intercept. Whitfield Diffie and Martin Hellman's 1976 paper showed a way: two parties can compute the same secret from information that is entirely public, as long as inverting a certain one-way function is hard.
This is the Diffie-Hellman key exchange. It does not provide authentication (Eve can still impersonate either party) — authentication is layered on top via certificates and digital signatures. The combination of key exchange + authentication + symmetric encryption is exactly what TLS provides.
