Enigma Machine Simulation
I put this material together for the fun of it. Anyone is free to use it in any manner they wish.
No guarantees are made.

Expertise comes with study and practice, practice, practice, ...

Enigma machine (Wikipedia)
The Enigma machine is a cipher device developed and used in the early- to mid-20th century to protect commercial, diplomatic, and military communication. It was employed extensively by Nazi Germany during World War II, in all branches of the German military.

The Real Thing
image missing
commons.wikimedia.org/wiki/File:Enigma.jpg

Possible Simulation GUI Interface
image missing

Another Possible Simulation GUI Interface
image missing

Python3 Files

The enigma machine simulation works, but I am sure there are still bugs in the code. I apologize in advance.

enigma_gui.py
EnigmaConfig.py
EnigmaMachine.py
EnigmaRotor.py
EnigmaUtils.py
user_interface.py

create_enigma_config_file.py
read_enigma_config_file.py

test_enigma_gui.py
test_EnigmaConfig.py
test_EnigmaMachine.py (command line interface)
test_EnigmaRotor.py

enigma_machine_w_gui.py (GUI interface)

enigma_encrypt_decrypt_a_file.py

enigma_config_6.csv (6 character test alphabet)
enigma_config_26.csv (26 character enigma machine alphabet)
enigma_config_44.csv (44 character expanded alphabet)

demo_list_copy_1.py (a=b)
demo_list_copy_2.py (copy)
demo_list_copy_3.py (deepcopy)
demo_pysimplegui_combo.py
demo_rotate_list_01.py (good but insufficient for enigma rotor)
demo_rotate_list_02.py (good but insufficient for enigma rotor)
demo_rotate_enigma_rotor_list.py
demo_substitute_char.py
demo_sys_argv.py

Documents

Enigma machine simulation project design

Enigma machine, design notes
Enigma machine, interesting facts
Enigma simulation, end to end
Enigma simulation, randomize rotor
Enigma simulation, internals
Enigma simulation, rotor initial position
Enigma simulation, rotor list index advance algorithm
Enigma simulation, capture/view internal operations (for debugging, etc)
Enigma simulation, operation notes
Enigma simulation, GUI notes
Enigma simulation, EnigmaConfig documentation
Enigma simulation, EnigmaMachine documentation
Enigma simulation, EnigmaRotor documentation
Enigma simulation, EnigmaUtil documentation
Enigma simulation, GUI documentation
Enigma simulation, my journey
Enigma simulation, what to do next

Every thing in a pdf file as of Dec 18, 2021

Every thing in a zip file as of Dec 18, 2021

Original Project Description - Simulate an Enigma Machine

Links

How the Enigma machine works | Animation (YouTube)
The Enigma Code (youTube)
The Inner Workings of an Enigma Machine (YouTube)
How did the Enigma machine work?
Enigma Simulator v7.0
Enigma machine (Wikipedia)
Enigma machine & Rotors (Wikipedia)
Enigma rotor details (Wikipedia)
Technical Details of the Enigma Machine
Enigma wiring (Crypto Museum)
The Enigma Machine (stanford.edu)
The components of the Enigma machine
The Enigma Enigma: How The Enigma Machine Worked

Enigma Machine Emulator
Enigma machine