
Image: Alessandro Nassiri · CC BY-SA 4.0 · Wikimedia Commons
Object or relic
Enigma cipher machine (example in Milan)
1923–1945 (in use) · Berlin, Germany (development and production)
An electromechanical rotor cipher machine patented in 1918 by the German engineer Arthur Scherbius and sold commercially from 1923. From 1926 the German armed forces adopted improved versions.
Polish mathematicians including Marian Rejewski broke the system from 1932; from 1939 British codebreakers at Bletchley Park, among them Alan Turing, built on their work. This profile concerns an example in Milan.
Key facts
- Date
- 1923–1945 (in use)
- Discovery or creation
- Berlin, Germany (development and production)
- Current location
- National Museum of Science and Technology, Milan
- Kind
- Object or relic
- Inventor
- Arthur Scherbius (patent 1918)
- Mechanism
- Electromechanical: rotors, reflector and plugboard
- Possible settings (army)
- c. 1.59 × 10²⁰
- First broken
- Late 1932, by Marian Rejewski (Polish Cipher Bureau)
- This example
- National Museum of Science and Technology, Milan
How the machine works
An Enigma looks like a typewriter in a wooden box. When the operator presses a key, current runs through a series of rotating rotors with internal wiring and back via a reflector, after which a different letter lights up on a lampboard. After each keystroke at least one rotor turns on, so that the same letter is enciphered differently each time. The military versions also had a plugboard that swapped pairs of letters.
The settings, such as the choice and order of the rotors, their starting positions and the plug connections, changed daily and were listed in secret key sheets. With three of five rotors and ten plug connections there were about 159 quintillion possible settings.
The Polish breakthrough
The Polish Cipher Bureau employed young mathematicians from 1932. Marian Rejewski reconstructed the wiring of the rotors using mathematical methods and documents obtained by French intelligence. Together with Jerzy Różycki and Henryk Zygalski he read German messages for years, with tools such as the cyclometer, the Zygalski sheets and the bomba, an electromechanical device.
When the Germans tightened their procedures, the Poles shared their knowledge and two replica machines with British and French intelligence in July 1939, shortly before the German invasion.
Bletchley Park and Ultra
At Bletchley Park, the British codebreaking centre, Alan Turing and Gordon Welchman designed a much faster machine, the bombe, of which more than two hundred were built during the war. With it they searched for the daily settings on the basis of suspected fragments of plain text. The resulting intelligence, codenamed Ultra, played a part in the Battle of the Atlantic, among other campaigns. Historians such as Harry Hinsley estimated that Ultra shortened the war in Europe by about two years; others find such an estimate too speculative.
The work remained secret until the 1970s. Turing was convicted in 1952 for homosexuality, then a crime in Britain, and died in 1954; he was posthumously pardoned in 2013.
Weak points
Because of the reflector the machine worked symmetrically: with the same setting the enciphered text became readable again. As a result a letter could never be enciphered as itself, which helped the codebreakers rule out possible plain text. Even more important were human errors and fixed habits, such as predictable weather reports, standard phrases and repeated keys.
Captured key sheets and machines, for example from German U-boats and weather ships, were also decisive, above all for the four-rotor naval version used from 1942.
On the map
Discovery or creationCurrent location