How did codebreakers beat a machine with 159 quintillion settings?
Nobody beat Enigma by trying every setting. Lazy habits and one built-in flaw did it, and the first break came from a Polish mathematician in 1932.
▶ Start the storyNobody beat Enigma by trying every setting. The military version had about 159 quintillion of them, far too many. What cracked it was how the Germans used the machine, plus a flaw built into its design.
159 quintillion
The first break came in December 1932 from a Polish mathematician, Marian Rejewski, at the Polish Cipher Bureau. He used permutation group theory and intelligence material obtained from a German spy, Hans-Thilo Schmidt. His opening was a bad habit: until September 1938, operators chose a three-letter message key and enciphered it twice at the start of every message. That repetition created a relation between the first and fourth letters, the second and fifth, and the third and sixth. Rejewski also noticed that lazy clerks often picked starting positions such as AAA, BBB or CCC. Five weeks before World War II began, in late July 1939, the Poles shared their techniques and technology with the French and British.
The British then built on that foundation at Bletchley Park. Enigma's reflector meant that no letter could ever be enciphered to itself, so a codebreaker who guessed a word likely to appear in a message, called a crib, could rule out many positions quickly. Alan Turing exploited this in designing the British bombe, a machine that tested rotor settings against a crib. Even so, the account stresses that good operating procedures, properly enforced, would have made the plugboard Enigma unbreakable to the Allies at that time. Many commentators say the intelligence from these decryptions shortened the war substantially.
Dec 1932
Rejewski breaks the plugboard Enigma
15 Sep 1938
Operators choose their own start position; the characteristics method stops working
Late Jul 1939
The Poles share their methods with the French and British
1 May 1940
The Germans stop enciphering the message key twice
Quiz me
0/3
Recap
Enigma wasn't beaten by trying 159 quintillion settings, but by exploiting repeated message keys, lazy habits, guessed words and the rule that a letter never becomes itself.
💡 A trick to remember it · Enigma could never say 'me' for the same letter, and that tiny refusal gave the codebreakers a crack to pry.
Surprising fact · Enigma's reflector meant no letter could be enciphered to itself, a flaw that helped Turing's bombe eliminate wrong guesses.
Connects to
- 🏛️ How did Julius Caesar keep his letters secret by shifting the alphabet?
- ⚔️ How did Germany conquer Poland in five weeks?
- 📼 What was the imaginary machine Alan Turing described in 1936?
- 🔑 Why can a code stay unbreakable even if everyone knows how it works?
- 🔡 How did counting letters crack secret codes for centuries?
- 🕯️ Why was World War II the deadliest war in history?
- Alan turing
Sources (2)
No source, no claim. Every fact in this lesson (22 claims) cites at least one of these.