Skip to content

Marian Rejewski breaks the Enigma cipher

A young Polish Cipher Bureau mathematician reconstructed the wiring of the German military Enigma using permutation theory; the work was handed to Britain and France before the Second World War.

Gregorian calendar December 1932
Hijri calendar Sha'ban–Ramadan 1351 AH

The Hijri conversion uses the tabular (arithmetical) calendar and may differ by 1–2 days from official sighting. AH = Anno Hegirae, BH = before the Hijrah (before 16 July 622 CE). Dates before 1582 follow the Julian calendar.

In December 1932 Marian Rejewski, a young mathematician at the Polish Cipher Bureau, reconstructed the rotor wiring of the German military Enigma machine. He used permutation theory, a branch of pure mathematics, to solve a problem previously thought impossible. His findings were later handed to Britain and France on the eve of the Second World War.

Background

In the late 1920s the German armed forces began using the Enigma cipher machine, with its millions of possible settings. The Polish Cipher Bureau, worried about the threat from the west, recruited mathematics students from Poznań University. Three of them, Marian Rejewski, Jerzy Różycki and Henryk Zygalski, joined full time in 1932.

Breaking the cipher

In his 1981 article Rejewski explained how he built permutation equations from the pattern of the first six letters of each message. Documents obtained by French intelligence helped him solve those equations and recover the rotor wiring. The Polish team then built Enigma replicas and aids such as the cyclometer, Zygalski sheets and the "bomba" to find daily settings.

Impact

When the Germans added complexity to the machine, Poland could no longer keep up on its own. In July 1939, near Warsaw, the Polish cryptologists shared their work with British and French representatives. According to Kozaczuk, this knowledge underpinned Allied codebreaking at Bletchley Park during the war. The Polish contribution was widely recognised only decades later, once wartime secrecy was lifted.

📚 References

  1. 📄 Journal article Rejewski, M. (1981). How Polish mathematicians broke the Enigma cipher. IEEE Annals of the History of Computing, 3(3), 213–234. https://doi.org/10.1109/MAHC.1981.10033
  2. 📕 Book Kozaczuk, W. (1984). Enigma: How the German machine cipher was broken, and how it was read by the Allies in World War Two (C. Kasparek, Trans.). University Publications of America. ISBN 9780890935477.