Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 02 · Mind Blown · Where logic bites back · about 29 min to read

Watch: A secret shouted across a room
▶ VideoPlay it as a journeyTutor comes with a plan

A Secret Shouted Across a Room

A Secret Shouted Across a Room
A Secret Shouted Across a Room · Open board

The board shows a public tin of yellow paint, two people each stirring in their own hidden colour, two muddy mixtures shouted openly across a crowded room, and one identical brown that both sides end up holding. This is the story behind that board: who found the trick, who was made to keep it secret, the numbers that make it checkable by hand, and the one thing the trick does not do for you, which turns out to be the reason certificates and browser padlocks exist at all.

Before you start. You need nothing more than a calculator’s four buttons: add, multiply, and the idea that some sums “wrap around” once they pass a limit, the way a clock hand wraps from 12 back to 1. Everything past that gets built up as the story needs it.

Lesson 10 of 73 in Mind Blown

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 1974: the answer nobody was allowed to give
  • 1976: two Stanford researchers publish it anyway
  • The paint that only one person can unmix
  • The real mixing: a sum that wraps around
  • The twist: a shared secret doesn’t tell you who you shared it with
  • Where the paint runs out
  • The man in the middle, mechanically
  • Elliptic curves: the same trick, much smaller numbers
  • Throwing the keys away: forward secrecy
  • Where it sits in a real handshake, and what it hands off

Terms it explains: one-way function, shared secret, discrete logarithm, man in the middle, two, 128 bits, 3072, 256, With Python,, Merkle, TLS / HTTPS.

Review Mind Blown