The Secret You Can Say Out Loud

See how two strangers agree on a secret in public: an interactive Diffie-Hellman key exchange you can try to break.

educationinteractivesecuritymathematicsLearning
Platforms
Web
Pricing Free

The Secret You Can Say Out Loud is an interactive explainer of the Diffie-Hellman key exchange from 1976, the idea behind every full TLS 1.3 handshake. Two people who share no secret agree on one while an eavesdropper reads every message between them.

The page is a working, toy-sized version. You choose a public prime and base, watch Alice and Bob each send a value computed with modular exponentiation, and see both reach the same shared number. Then you play the eavesdropper and try to steal it, which works for tiny numbers, and you can raise the prime to watch the difficulty climb. It also covers what Diffie-Hellman does not give you: proof of who you are talking to, so an active attacker in the middle can read everything. Every number is computed in your browser.

It is free and needs no account. It is published by Artificial Wasteland, and the text is in English.