How did the Enigma machine work?

How did the Enigma machine work? via The Guardian: Like all the best cryptography, the Enigma machine is simple to describe, but infuriating to break. Straddling the border between mechanical and electrical, Enigma looked from the outside like an oversize typewriter. Enter the first letter of your message on the...