As the name suggests, the one and only c file in this repository emulates the working of an enigma machine. It is hardcoded with 5 rotors which the user may change for more secure sequences. In addition to this each rotor can be programmed for its initial offset.
The main challenge behind the emulator is the fact that an actual enigma machine use a closed circuit path to ensure that when in ith state; if character C
ciphers to character C'
then it is guaranteed that character C'
would have ciphered to character C
.
The emulator does not supports plugboard yet.