Tech●●●●●Difficulty 3 of 5

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 story

Nobody 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

settings of the military Enigma: three rotors from five and ten plugboard pairs

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.

How Enigma kept being broken
  1. Dec 1932

    Rejewski breaks the plugboard Enigma

  2. 15 Sep 1938

    Operators choose their own start position; the characteristics method stops working

  3. Late Jul 1939

    The Poles share their methods with the French and British

  4. 1 May 1940

    The Germans stop enciphering the message key twice

Quiz me

0/3

  1. 1.What weakness in the pre-1938 procedure did Marian Rejewski exploit?
  2. 2.How did the flaw that no letter could be enciphered to itself help codebreakers?
  3. 3.Why was the number of Enigma settings (about 159 quintillion) not enough to keep it secure?

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.

Sources (2)

No source, no claim. Every fact in this lesson (22 claims) cites at least one of these.

  1. [1]Cryptanalysis of the Enigma · Wikipedia
  2. [2]Enigma machine · Wikipedia
More lessons in 💻 Tech (3) See all tech lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗