[an error occurred while processing this directive]
Cracking Enigma:
Click here to go directly to the bombe simulator.
The math involved in the Enigma is straightforward, and the system is very strong when used correctly and securely. However, because of their overconfidence, users of the Enigma unnecessarily gave away the ability to read their messages.
The first advances in cracking the Enigma were made by the Polish in the 1930s. At that point, the machine only used three rotors in six possible combinations (3 nPr 3). Although breaking the Enigma in the 1930s was a major accomplishment, the Polish were unable to crack the Enigma after the German military took over its development in World War II. The Germans increased the number of rotor combinations to 60 by adding an additional two rotors to the pool (though the machine still only used 3).
The British then continued working on deciphering the Enigma, starting where the Poles left off. A man by the name of Alan Turing, then a young mathematician, built a machine to crack the Enigma while working for the British government. This man's work on building the Turing Bombe, as it is called, gave the foundation for modern computing. The NSA said that were it not for this man's work, computers would not have developed until some time later than they did.

In any case, the Bombe could chug along and eventually crack an Enigma code in about 15 hours. A modern computer can do the same task in several minutes. Although the math behind it is best left to a textbook, we have included a small simulator of the Bombe.
The Bombe was able to break codes because of weaknesses in the way the Germans used Enigma. Although the Enigma was quite secure when used correctly, the Germans were guilty of some oversights:
If the German government had the foresight, they might have made several modifications to the Enigma to drastically increase the number of possible settings. By making these changes, it would have been virtually impossible for the allies to break the Enigma. Even with the help of the modern computer, it would be difficult (but not impossible).
We have provided a simulator of the Bombe. Just like the original, it isn't consistent, often gets it wrong, and is pretty hard to use. However, sometimes it does work. If you are interested, though, it is a fascinating piece of hardware (or software, in this case).