Security & ScamsSide-Channel Security

The Timing Leak

How long a check takes can reveal the secret it protects

A keypad never tells you which digits you got right. So how could a stopwatch tell you instead?

You'll find out

  • Why a wrong guess can be too quick
  • How 10,000 codes shrink to 40 tries
  • Which checks give nothing away

Why it matters

Phones, cards and websites all check secrets. The good ones take the same time, right or wrong.

About 3 min6 interactive slides · 5 questionsLesson 619 · Zone 69

Play this lesson

Free to play in your browser or on iPhone

More in this zone

  1. 613Geometric OpticsThe Rainbow AngleEvery rainbow sits at the same angle from your shadow
  2. 614PuzzlesSeventeen CluesA sudoku needs at least 17 clues to have one solution
  3. 615AI AlignmentThe AI That Paused Tetris ForeverTold to push its numbers up, it simply stopped playing
  4. 616CalculusGabriel's HornA horn you could fill with paint but never paint
  5. 617E-commerce HistoryThe First Thing Ever Bought OnlineIn 1994 someone paid by card for a Sting CD over the web
  6. 618GravityHearing Black Holes CollideIn 2015 we felt space itself ripple
  7. 620Blockchain ScalingWhy Bitcoin Is SlowBitcoin handles about seven payments a second; card networks handle thousands
  8. 621AstrophysicsSpaghettificationFall into a black hole and you'd be stretched like spaghetti