The Typewriter That Lied

### The Typewriter That Lied

Codes at War · Enigma

Imagine a typewriter that lies to you. During World War II, the German military used a cipher machine called the Enigma, invented by engineer Artur Scherbius. When an operator pressed a letter key, electricity zipped through a plugboard that swapped pairs of letters, then through three spinning wheels called rotors, bounced off a reflector, and lit up a bulb under a completely different letter.

The wildest part? Every single time you pressed a key, the first rotor clicked forward, changing the electrical maze inside. Press the same letter three times in a row, and three different letters would light up. Without knowing the exact starting setup of the wires and rotors, a spy intercepted nothing but gibberish.

Movies often show British mathematician Alan Turing cracking the Enigma all by himself, but real codebreaking is a team sport. Starting in 1932, three brilliant Polish mathematicians—Marian Rejewski, Henryk Zygalski, and Jerzy Rozycki—used pure math to map the Enigma's secret wiring. In 1938, Rejewski built an electro-mechanical code-breaker called the bomba.

Just before World War II began, the Polish team shared their breakthroughs with the British. At a secret headquarters in England called Bletchley Park, Turing, Gordon Welchman, and a massive team built an even bigger machine called the Bombe. By taking a guessed word—like "WEATHER"—and testing 36 Enigma setups at once, they cracked the "unbreakable" code.

A cozy code-breaking room at midnight: a clever team huddles around a boxy machine with rows of round glowing keys and little lit lamps and gears and rotors turning inside; teacups, stacks of paper, and a big blackboard of chalk marks surround them, everyone leaning in with delighted we-cracked-it faces, lit by cyan and violet glow.

Cracking the Enigma at Bletchley Park — England, 1940s.