Skip to content

mohammadhasananisi/enigma_machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enigma machine with Python ================= Without Any Library, Just Gui tkinter

Library Reference

The library reference documents every publicly accessible object in the library.

Examples

image

See Enigma class in enigma_machine.py

enigma_class = Enigma(
        rotors = ("I","II","III")
        reflector = "UKW-B"
        ringSettings = "ABC"
        ringPositions = "DEF"
        plugboard = "AT BS DE FM IR KN LZ OW PV XY"

        )

        result = enigma_class.encode("code || text")
        print(result)

:

Or

Run with Gui python enigma_run_with_gui.py.

Installing

The easiest way to install this is using pip install tk.

Requirements

To use all of the functionality of the library, you should have:

  • Python 3.3+ (required)
  • Tkinter 3.10+ (required)

Authors

Keep In Touch with Mohammad Hasan Anisi Email - github - Telegram - Linkedin.

Please report bugs and suggestions at the Telegram !

Releases

No releases published

Packages

No packages published

Languages