Marian Rejewski
The Polish mathematician who broke Enigma seven years before the war

Rejewski's daughter's private archive — CC BY-SA 2.5 — Wikimedia Commons
In brief
In December 1932, Marian Rejewski, a young mathematician at the Polish Cipher Bureau, reconstructed the wiring of Enigma’s rotors using the mathematics of permutations. With Jerzy Różycki and Henryk Zygalski, he read German messages for years. In July 1939, Poland gave all its secrets to France and Britain.
The story
In 1929, the University of Poznań ran a secret cryptology course for students who spoke German. Rejewski, Różycki and Zygalski were recruited. Rejewski attacked Enigma with equations; he also received documents supplied by a German spy, Hans-Thilo Schmidt, which French intelligence passed on. In a few weeks, he worked out the rotors’ secret wiring.
The Poles built copies of Enigma and invented a “cyclometer”, perforated sheets and, in 1938, the “bomba” to find the settings. On 25 July 1939, at Pyry near Warsaw, they revealed everything to the French and British, and gave them copies of the machine. Rejewski then fled to France, then England. Back in Poland after the war, he only spoke about his role in the 1970s.
Did you know?
Without the head start the Poles gave them, the codebreakers at Bletchley Park would probably have taken much longer to break Enigma.
Sources: D. Kahn, The Codebreakers, 1967 (rev. ed. 1996); S. Singh, The Code Book, 1999; F. L. Bauer, Decrypted Secrets, 4th ed., 2007; C. P. Bauer, Secret History: The Story of Cryptology, 2nd ed., 2021; texts written for this site.
Al-Kindi
Charles Babbage
Auguste Kerckhoffs
Georges Painvin
William and Elizebeth Friedman
Alan Turing
Joan Clarke
Claude Shannon