From GameBrew - a wiki dedicated to Video Game Homebrew.
EnigmaNDS is a Enigma machine simulator playful and educational purposes.
Implements the algorithm required to simulate the three-rotor Enigma machine, and can select from five possible addition to the functions of steckers.
It was participate in the Scenery Beta 2011.
The Enigma machine is the machine used by the Germans to encrypt their communications in the 2nd World War. It was a transposition cipher machine by rotating.
It worked with three rotors, chosen from a possible 5, and to configure the number of rotor position, and also simulate the function of steckers (a front panel allowing to perform a pre-trade encryption).
Theoretically the application can encrypt text with a key (rotors, rotor position and configuration of the steckers) and if then, the text shows up, the ciphertext is re-encrypted with the same key, you get the original text.
That is, if you figure "hello", and the machine will figure as "OIIQ", then if we put the rotor in the position they were when they encrypt "Hello", if we encrypt "OIIQ" should appear on the screen deciphered text: "HELLO".