Skip to content

This is very basic enigma with only 1 Rotor and 6 letters. I've made it for my recent video about cryptography. In this video I try to explain the basics of cryptography and Enigma Machine. I used PyGame for displaying the result and imitating the keyboard. Feel free to download the project and try to improve it!

License

Notifications You must be signed in to change notification settings

sssashamoroz/enigma-6.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is very basic enigma with only 1 Rotor and 6 letters. I've made it for my recent video about cryptography. In this video I try to explain the basics of cryptography and Enigma Machine. I used PyGame for displaying the result and imitating the keyboard. Feel free to download the project and try to improve it!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages