
This wheel (rotor) is the only non rotating wheel. From there, the impulse would go to a last wheel - that is named the 'reflector'. The wirings of the wheel would lead to an output letter from the first rotor with a different value, let's say 'D', this impulse would then go to the second rotor, and the same thing would happen there, and in the third rotor. Basically, when the user of the machine pressed a key, the current would go to the first rotor to the letter corresponding to that key (let's say 'A'). This kind of machine was a combination of electrical and mechanical cryptography system. The three rotors are arranged one after the other from right to left.

The rotors has a visible part which consists of the alphabet and a part that has other letters which are linked to the first one by wires.

The machine has at least three rotors, each one having the alphabet written on it. This code shows how simple it is to emulate such complicate wirings as those of the Enigma machine, using a modern programming language. If the user wants to understand more about the Enigma machine, then he/she would need to Google for more information. This code is a complete program that shows the inner workings of such a machine.

The breaking of this code led the allies to victory. The most famous use of it was by the German army during the WWII. This kind of cryptography system was used until the 70's.
#ARDUINO ENIGMA SIMULATOR HOW TO#
This article shows how to implement an Enigma like cryptography using C#.
