How Does an Enigma Machine Work?
This is a completely fantastic look at how the Enigma Machine works. Jared Owen constructed a 3D model of the German cipher device and clearly walks the viewer through how the electricity flows through the machine to scramble and unscramble secret messages.
When electricity travels through one rotor it changes the letter once. But remember, we have three of these rotors and they each have different wirings on the inside. When electricity travels through all three of them it changes the letter three times.
Then at the end, we have the reflector. This also has 26 metal contacts. Inside is more wiring that connects the letters in pairs. So it goes in as one letter and then comes out as another letter.
To the right of here is the input wheel. It has 26 wires that go in and connects to the 26 metal contacts.
Let’s put this all together. Electricity flows through one of the 26 wires, let’s say the wire for the letter Y. Then it gets changed to a different letter at all three rotors. Then it hits the reflector, which again, changes the letter. And then it goes back through the rotors again which changes the letter three more times. And it comes back out on a wire that represents a completely different letter. And if you were counting, this means the letter was changed seven times.
Seriously, this is one of the best explanations I’ve ever seen of anything on YouTube — by the end of it, I was pretty sure I could now build an Enigma Machine if I needed to. (via benn jordan)




Comments 4
Who named this the Enigma Machine? Was it the inventor, the German military, the British mathematician trying to crack it? It's a name as ingenious as the device.
Inventor Arthur Scherbius named the machine: "He called his machine Enigma which is the Greek word for 'riddle'."
After seing this I realize it would not be very difficult to create a web based simulation of an enigma machine. You could consult a virtual booklet for the day's settings, load the rotors, set up the plugboard, and type away while the simulator would read back the letters as you typed and also give you the results in a virtual notebook.
D'oh. Of course a few people have already done this. Haven't tried them yet, but :
https://caesarcipher.org/ciphers/enigma
https://enigma.virtualcolossus.co.uk/VirtualEnigma/
https://www.101computing.net/enigma-machine-emulator/
If you feel like this comment goes against the grain of the community guidelines or is otherwise inappropriate, please let me know and I will take a look at it.
In order to comment or fave, you need to be a kottke.org member. Check out your membership options.
Note: If you are a member and tried to log in, it didn't work, and now you're stuck in a neverending login loop of death, try disabling any ad blockers or extensions. Or try logging out and then back in. Still having trouble? Email me!