python · 2024

Enigma Machine

A from-scratch Enigma: plugboard, stepping rotors and a reflector.

PythonCryptographyUnit tests

A small, typed Python model of the WWII Enigma cipher machine. Because the signal path is symmetric, the same machine settings that encrypt a message also decrypt it.