Enigma Explained: The Machine That Changed the War

Enigma explained in plain terms means understanding the rotor machine that carried Germany’s wartime secrets, a device that turned plain messages into gibberish with spinning wheels and a plugboard, and that Britain’s codebreakers spent the war learning to read. The central question is how a machine with more settings than there are stars could ever be broken, and the answer is that its operators made small mistakes, and the codebreakers turned those mistakes into keys.

Enigma is an electromechanical cipher machine invented by Arthur Scherbius and patented in 1918, and adopted by the German military in the 1930s. It encrypts letters with three or more rotors, a plugboard, and a reflector, runs on a daily key, and it is built so that pressing a key lights a different letter, with the wiring changing after every single letter.

This article explains what Enigma is, how it works, and where its story still matters today.

Key takeaways

  • Enigma is a rotor cipher machine invented by Scherbius in 1918.
  • It was adopted by the German military in the 1930s.
  • It encrypts with rotors, a plugboard, and a reflector.
  • Polish mathematicians broke it first in 1932.
  • Bletchley Park industrialised the break with the Bombe.

What Enigma is

Enigma is a machine that encrypts messages letter by letter, passing each letter through a maze of wires that changes after every keystroke. The operator types a letter, current flows through the rotors and the reflector and back again, and a different letter lights up, and because the rotors step with every press, the same letter never encrypts to the same letter twice in a row.

Its signature feature is the rotors. Each rotor is a disc with twenty-six contacts on each face, wired in a scrambled pattern, and three rotors sit side by side like an odometer, with the first stepping every letter, the second stepping every twenty-six, and the third stepping rarely, which means the wiring changes constantly.

The design was a reaction to the needs of a modern army. Radio made messages easy to intercept, so Germany needed a cipher that field operators could use quickly and that enemies could not read, and Scherbius offered a machine that did the work with electricity instead of pencil and paper.

It became the most famous cipher machine in history, and its breaking became one of the great stories of the war. Polish mathematicians broke the early version in 1932, and when the Germans added rotors and a plugboard, Britain’s Bletchley Park built the Bombe to find the daily settings, which let the Allies read U-boat orders and save convoys.

Its most famous property is the number of settings. With three rotors chosen from five, ring settings, and ten plugboard pairs, the machine offered about 159 quintillion possible configurations, a number so large that its operators believed it could never be broken, and that belief is what made the break so remarkable.

Our guide to Crypton explains a cipher from the contest that chose AES, and our guide to AES encryption explains the standard that protects messages today.

How Enigma works

Everything starts with the daily key, which sets up the machine each morning. The operator chooses the rotors, sets their rings, arranges the plugboard cables, and turns the rotors to their starting positions, and that setup is shared with the receiver through codebooks, which means both sides must match exactly or the message stays unreadable.

Each letter begins with the plugboard, which swaps pairs of letters before they reach the rotors. The operator plugs cables between letter pairs, so that an A becomes an E before encryption even starts, and the plugboard adds most of the machine’s settings, because ten cables can be arranged in an enormous number of ways.

The rotors are what make the encryption work as a whole. The current passes through the three rotors in turn, each one scrambling the letter, then hits the reflector, which sends it back through the rotors by a different path, and because the reflector means the machine can never encrypt a letter as itself, that quirk became a clue for the codebreakers.

The stepping is what spreads the effect further. After every letter, the first rotor steps one position, and after a full turn it steps the second, which means the wiring is different for every letter of the message, and because the stepping never repeats within a message, the same plaintext letter encrypts differently each time it appears.

The lampboard shows the result to the operator. A lamp lights up for the encrypted letter, the operator writes it down, and the message is sent by radio in groups of letters, which means the machine itself never stores anything, and the security rests entirely on the daily key.

Decryption runs the machine with the same daily key. The receiver sets up the machine exactly as the sender did, types the ciphertext, and the plaintext lights up letter by letter, which means the same machine encrypts and decrypts, and that symmetry is what made Enigma practical for field use.

A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it
A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it, shows how Enigma works: letters take turns through rotors and a plugboard, keystroke after keystroke, until the message is transformed.

Comparing Enigma with other historical ciphers

Enigma is one of several historical ciphers that shaped the modern field, and each was built with a different emphasis. The Vigenère cipher is a polyalphabetic design from the sixteenth century, modern AES is the standard that protects data today, and Enigma is the machine that brought electricity to encryption, while each approach trades something for something else.

The table below sets out the main contrasts between the leading approaches.

Aspect Enigma Vigenère Modern AES
Era 1918 to 1945 1586 onwards 2001 onwards
Method Rotors and plugboard Polyalphabetic table Substitution-permutation
Key space About 159 quintillion Small About 340 undecillion
Broken by Bombe and mathematics Kasiski examination Not practically broken
Best for Historical interest Historical interest General use

The practical result is that Enigma is the right choice for historical interest, Vigenère suits historical interest too, and modern AES fits general use everywhere else.

Where Enigma is used

Research uses it as a case study in machine cryptography. Cryptographers still cite Enigma when they discuss how machines changed encryption, because it is the clearest example of a rotor design, and that lesson shapes how new ciphers are judged today.

Teaching uses it to show how codebreaking works. Enigma is clean enough to explain in a lecture and well documented enough to simulate in an afternoon, which makes it a favourite example in cryptography courses that cover the history of the field and the design ideas that shaped it.

Museums use it to tell the story of the war. Surviving machines stand in museums around the world, where visitors can type a letter and watch the rotors step, and that hands-on experience is what makes the story real for people who have never seen a cipher machine.

Popular culture uses it as the symbol of secret codes. Films and books about Bletchley Park made Enigma the best-known cipher in the world, and that fame is why the machine appears in classrooms and documentaries whenever anyone explains what cryptography is for.

Standards history uses it to mark the machine era. Enigma was part of the moment when encryption moved from paper to machinery, and it represents the mechanical path that era explored, which means historians of the field return to it whenever they ask what cryptography might have looked like.

Strengths and limits

The greatest strength of Enigma is its key space. A machine with 159 quintillion settings cannot be broken by trying them all, and that size is real, measured in the combinations of rotors, rings, and plugboard cables, and confirmed by the designers’ own counting of the possibilities.

It is also a strength that the machine was easy to operate. A soldier could set up Enigma in minutes and encrypt messages as fast as he could type, and that usability is worth more than cleverness in a field where a cipher nobody can use protects nobody.

The limits are real, though, and the biggest is operator error. Messages that began with the same words, keys that were reused, and procedures that were followed lazily all gave the codebreakers the openings they needed, which is why Enigma is studied as a lesson in how people break ciphers, not just maths.

Enigma checklist

  • Use Enigma for study and history, not for new systems.
  • Remember it offered about 159 quintillion settings.
  • Study its rotors to understand machine cryptography.
  • Compare it with Vigenère to see the machine trade-off.
  • Note its daily keys when studying the break.
  • Test against published examples before trusting any simulation.
  • Keep keys random and protect them as carefully as with any cipher.
  • Use a proper procedure, never reuse a daily key.
  • Choose AES for any system that needs real protection today.

Frequently asked questions

What is Enigma in simple terms?

It is an electromechanical cipher machine that encrypts letters with spinning rotors and a plugboard, changing its wiring after every letter so that no pattern survives.

Who invented Enigma?

Arthur Scherbius, a German engineer who patented the machine in 1918 and sold it commercially before the military adopted it in the 1930s.

How was Enigma broken?

Polish mathematicians broke the early version in 1932, and Bletchley Park later built the Bombe, a machine that tested rotor settings quickly, using operator mistakes as clues.

Is Enigma still secure?

No, its design is fully understood and its settings can be recovered with modern computers, so it is studied as history rather than used for new systems.

What is the Bombe?

It is the electromechanical machine built at Bletchley Park that tested Enigma settings at speed, designed by Alan Turing and Gordon Welchman from Polish ideas.

When should I study Enigma?

When you learn the history of cryptography, when you teach codebreaking, or when you want a machine whose story explains why procedures matter as much as maths.

The bottom line

Enigma explained in one line is this: the machine that changed the war, a rotor cipher with more settings than stars that fell to patience, maths, and human mistakes.

It is proof that a cipher is only as strong as its operators, and the reason it still matters is that every cipher designed since has been judged partly by the lesson Enigma taught.

This article is general information about how Enigma works, not advice about choosing encryption for a particular device or system.

Latest articles

Scroll to Top