This article is written in English. Choose a language to open an automatic translation by Google Translate. Automatic translations can sometimes get historical names and dates wrong — for full accuracy, read the original English article.
German cipher machine during World War II. Image: Alessandro Nassiri · CC BY-SA 4.0 · Wikimedia Commons
The Enigma machine was a German coding machine that looked like a typewriter in a wooden box. It scrambled messages so thoroughly that Germany believed no one could ever read them.
They were wrong. Polish, British and other codebreakers — armed with mathematics and the first computers — cracked Enigma and read Germany's secrets through much of the Second World War.
Key Facts
['Invented by', 'Arthur Scherbius, a German engineer — patented in 1918']
['Used by', 'The German army, navy and air force, from the late 1920s']
['How it worked', 'Spinning rotors and a plugboard scrambled every letter differently']
['Possible settings', 'About 159 quintillion — 159 million million million']
['First broken by', 'Polish mathematicians, led by Marian Rejewski, in 1932']
['Famous centre', 'Bletchley Park, England — home of Alan Turing and the Bombe machines']
A typewriter that lied
Press a key on Enigma and a different letter lit up — and thanks to its spinning rotors, pressing the same letter twice gave two different results. Operators changed the settings every day using secret codebooks.
With about 159 quintillion possible settings, Enigma seemed unbreakable. German commanders trusted it with their most secret orders, from U-boat attacks to army movements.
The Poles strike first
In 1932, the young Polish mathematician Marian Rejewski, with Henryk Zygalski and Jerzy Różycki, broke the military Enigma using mathematics and captured documents.
In 1939, weeks before invasion, Poland gave its secrets to Britain and France. At Bletchley Park, Alan Turing and Gordon Welchman built the Bombe — a clattering machine that tested Enigma settings at high speed and found each day's key.
Ultra — the secret that won time
The intelligence from broken Enigma was codenamed Ultra. It warned convoys about U-boats, revealed German plans in Africa and Europe, and helped the Allies plan D-Day. Historians estimate it may have shortened the war by about two years.
The secret was kept so well that Germany never learned the truth, and Bletchley Park's own story stayed hidden for thirty years. Enigma's defeat also gave birth to Colossus, the world's first large electronic computer, built to break an even tougher German code.
Did You Know?
Codebreakers got vital help from lazy habits: many German messages began with weather reports, so the breakers could guess the first words — these guessed words were called 'cribs'.