Skip to content

Bajena/enigma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enigma simulator

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.

Encoding messages

In order to encode the secret message:

  1. Choose your configuration for rotors (letters in the top-left corner).
  2. Connect cables of the plugboard the wya you want.
  3. Type your message
  4. Your encoded text will appear on the white stripe in the top-right corner.

ezgif-7-dbb9a0f67a17

Decoding messages

If you have a secret text and want to decode it:

  1. Choose the same rotor configuration as the one used when encoding the text.
  2. Connect cables on the plugboard in the same way as when encoding.
  3. Enter the ciphered message.
  4. The decoded text will appear on the white stripe in the top-right corner.

ezgif-1-28155b0cf77b