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.
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
- Umehrwalzen: B, C
- Zusatzwalzen: BETA, GAMMA
- Rotors 1-3: I, II, III, IV, V, VI, VI, VII, VIII
-
Write the initial Enigma rotor settings as the first line of a file.
-
Then insert the original message into the file. Use this file as the "input file."
-
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).
-
The program will automatically generate a coded version of your original message on the right box.
-
Write the same initialEnigma rotor settings used to code the original message on the first line of a file.
-
Then insert the coded original message into the file. Use this file as the "input file."
-
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).
-
The program will automatically generate a decoded version of the original coded message on the right box.
-
Download zip file
-
Unzip the zip file
-
Open Enigma.jar