Enter the forest
The cryptologic bomb
Polish inventors forgotten by the world

The cryptologic bomb

The mathematician who broke Enigma and kept silent for 30 years

✦ Confirmed

The Germans were sure that Enigma could not be broken. A young mathematician from Bydgoszcz did it in a few weeks, and then for decades worked in a cooperative and told no one anything.

Who: Marian Rejewski (with Jerzy Różycki and Henryk Zygalski) · When: 1932–1939 · Where: Warsaw, Pyry

See the illustrated storyphotos, animations and experiments to do yourself

The tale

Marian Rejewski (1905–1980) studied mathematics in Poznań. In 1929 he joined a secret cryptology course of the Cipher Bureau. From the autumn of 1932 he worked in Warsaw on the military Enigma.

Within a few weeks, using permutation theory and documents obtained by French intelligence, he reconstructed the wiring of the rotors. Together with Różycki and Zygalski he devised ways of regularly reading German messages.

In September 1938 the Germans changed their procedures. Rejewski designed the bomb: an electrical device of six linked Enigmas that searched for the daily key in about 2 hours. By mid-November 6 such machines had been built.

On 26 July 1939 in Pyry near Warsaw, the Poles handed over their methods and copies of the Enigma to the British and French. On this basis the British, among them Alan Turing, built their own bombes, which worked differently.

After the war Rejewski returned to Bydgoszcz and worked as a clerk. He was kept under surveillance by the security service. Only in 1967 did he write down his memoirs, and in 1973 the world learned of the role of the Poles.

How it works

  1. The weak point: Cipher clerks entered the key of each message twice at the start of the message. The repetition left a trace that could be caught with mathematics.
  2. Six Enigmas: The bomb linked six copies of the Enigma driven by a motor. They ran through all the rotor settings and stopped at the one that fitted.
  3. The race: In December 1938 the Germans added rotors and 10 times more bombs were needed. Poland did not have the money for that, so the methods were given to the allies.

Check for yourself

  1. A cipher from two discs: Cut two discs with an alphabet out of cardboard and pin the smaller one to the larger with a drawing pin. Turn it by a few letters and encrypt messages. The Enigma had three such discs, which turned after every letter.
  2. Count the letters: Encrypt a long text for a friend by shifting the letters. Then count which letter appears most often in the ciphertext. In Polish it is usually a, e or o. This is how simple ciphers are broken.
  3. The repetition mistake: Ask someone to encrypt the same word twice in a row with the discs. See how the repetition makes guessing easier. This was the Germans' mistake.

What is known for certain

The breaking of Enigma by Polish mathematicians is well documented and confirmed by British cryptologists, among them Gordon Welchman of Bletchley Park. The British historian Harry Hinsley assessed that intelligence from Enigma shortened the war by at least two years.

Sources