Skip to content

celenac/Enigma

Repository files navigation

Enigma Machine (M4) Simulator


About

This program simulates the M4 Enigma Machine. Taking in a file with a coded/decoded message, it creates a new file that contains the decoded/coded version of the message.

How to use

The first line of the input file must contain the initial settings for the Enigma Machine. The format of the first line should be as follows:
* (Umkehrwalzen reflector) (Zusatzwalzen reflector) (rotor 1) (rotor 2) (rotor 3) (any four letter combination)

Example: * B BETA III IV I AXLE

Rotor and reflectors

  • Umehrwalzen: B, C
  • Zusatzwalzen: BETA, GAMMA
  • Rotors 1-3: I, II, III, IV, V, VI, VI, VII, VIII

Directions for coding a message

  1. Write the initial Enigma rotor settings as the first line of a file.

  2. Then insert the original message into the file. Use this file as the "input file."

  3. Insert the file into the program by clicking "choose file" and searching for your file (Your input file will be displayed on the left box).

  4. The program will automatically generate a coded version of your original message on the right box.

Directions for decoding a message

  1. Write the same initialEnigma rotor settings used to code the original message on the first line of a file.

  2. Then insert the coded original message into the file. Use this file as the "input file."

  3. Insert the file into the program by clicking "choose file" and searching for your file (Your input file will be displayed on the left box).

  4. The program will automatically generate a decoded version of the original coded message on the right box.


Download

Download here

Download instructions

  1. Download zip file

  2. Unzip the zip file

  3. Open Enigma.jar

About

Enigma Machine (M4) simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages