This repository contains Enigma cipher device simulator implemented in JavaScript simply for fun. It's preconfigured to use rotors (I,II,III) and reflector (B) from the original 1939 Enigma.
You can play with it yourself at https://bajena.github.io/enigma/index.html.
In order to encode the secret message:
- Choose your configuration for rotors (letters in the top-left corner).
- Connect cables of the plugboard the wya you want.
- Type your message
- Your encoded text will appear on the white stripe in the top-right corner.
If you have a secret text and want to decode it:
- Choose the same rotor configuration as the one used when encoding the text.
- Connect cables on the plugboard in the same way as when encoding.
- Enter the ciphered message.
- The decoded text will appear on the white stripe in the top-right corner.