Data structures

Enigma Machine Simulator

Enigma Machine Simulator
Enigma Machine Simulator

Summary

Here is the Wikipedia page on Enigma machines if you are not familiar with them.

This program simulates how they would work. There were several versions of the Enigma machines, and this program works for any kind (and even new ones you can make up). It takes an input of possible inital configurations of the machines and messages to encode or decode - an example is shown in the image above. A lot of time was devoted to making sure the program can correctly parse configuration files.