Skip to content

mgsium/_enigma

Repository files navigation

_enigma

python 3.6 enigma emulator

python 3.6+ compatible only : -> f-strings -> list comprehensions

--INSTRUCTIONS : INSTALLATION--

1 -- UNCOMPILED (without .exe file):

1 // install python 3.6 or later with standard libraries
2 // download the .zip package for the _enigma simulator
3 // extract
4 // run the _enigma.py file from the python IDLE interpreter
5 // follow operational instructions below

=========================================

2 -- COMPILED (with .exe file):

1 // download the .zip package for the _enigma simulator
2 // extract
3 // the .exe application

=========================================

--INSTRUCTIONS : OPERATION--

-> Enter the message to be encrypted in the leftmost column in the 'Input' row

-> Enter the rotor positions as lowercase letters, moving from left to right in order of the rotors

-> Press the encrypt button and the encrypted message will appear in the leftmost 'Output' column as well as the rotor positions -- more info on rotor positioning at :

https://en.wikipedia.org/wiki/Enigma_rotor_details

http://enigma.louisedade.co.uk/enigma.html

-> If desired, export to a .txt or .csv file in the 'File' section of the menu, selecting the file to export to - the file needs to be created manually beforehand.

-> Selecting the reset button resets the positioning of the rotors to their '1' position

--OTHER--

-> The Enigma Codebook Tool : http://users.telenet.be/d.rijmenants/en/codebook.htm