Skip to content

Latest commit

 

History

History
16 lines (7 loc) · 888 Bytes

README.md

File metadata and controls

16 lines (7 loc) · 888 Bytes

Mini Enigma Machine

This is very basic enigma with only 1 Rotor and 6 letters python code. I've used Pygame library to create friendly interface outisde the terminal. Feel free to download the project and expand for more letters.

Since there are only 6 letters, I decided to encode the word "FADE" and as the crypted messaged I recieved "DBDB", which according to the enigma's logic if we don't switch the rotos and put the crypted message in the input ("DBDB") we should obtain the original message >> "FADE", the hypotesis confirmed, therefore the code has been proven working correctly.

Image of the step-by-step encoding attached with the visual interface.

interface

More about Enigma Machine: https://en.wikipedia.org/wiki/Enigma_machine