Enigma machine emulator written in Haskell to practice and for fun.
To build and run: stack build echo "IDPHRIUSHJ" | stack exec enigma-hs
feel free to change the settings in Main.hs
Enigma Process
- Validate input
- Rotate wheels
- Pass through plugboard
- Pass through right-hand wheel
- Pass through middle wheel
- Pass through left-hand wheel
- Pass through reflector
- Pass through left-hand wheel
- Pass through middle wheel
- Pass through right-hand wheel
- Pass through plugboard