Enigma simulator
The Enigma is a cipher machine from 1920s Germany.
The German forces enciphered their messages with it in the Second World War.
This one is Hebrew, with 26 letters: the alphabet’s 22 and four final forms, ך ם ן ץ.
A key pressed
- Before the current flows, the right wheel turns one letter.
- The current runs from the key through the plugboard, the three wheels, the reflector, back through the three wheels and the plugboard – to a lamp.
- Each wheel swaps letter for letter by the wires inside it. The wheel turns, so the same key lights a different lamp every time.
- “The letter’s way” shows the letter after each part of the machine.
The pin: a wheel pushing the next
Each wheel has one pin, beside one of its letters.
When the pin’s letter is in the window and the wheel turns, the pin pushes the wheel to its left on one letter too.
- The right wheel turns at every key; the middle one once each turn of the right; the left one once each turn of the middle.
- The settings choose each wheel’s pin letter. On the wheel the pin is a gold dot, and it lights when it pushes.
- The middle wheel, its pin in the window, pushes the left wheel and turns itself on the same key: the Enigma’s “double step”.
The settings: the day’s key
The sender and the receiver need the same settings:
- Which wheels, and in what order – three of the five, I to V.
- Each wheel’s pin letter.
- Each wheel’s letter in the window at the start – ▲ and ▼ above and below the wheel.
- The plug pairs: each pair swaps two letters, before the wheels and after them.
Deciphering
The same machine, with the same settings, deciphers the message.
The reflector sends the current back by another way, so if ק lights ש, then in that position ש lights ק.
- Type a message, then press “Back to the start”.
- Type what lit up – and the message comes back.
- A letter is never enciphered as itself. Alan Turing and his team at Bletchley Park used that weakness to break the cipher.
The computer’s keyboard
The computer’s keyboard works too, once the machine is selected: each key sends the Hebrew letter on it. ף is sent as פ.