Enigma Emulator on the Commodore 64

A working Enigma M3 emulator on the Commodore 64. First in BASIC for clarity, then in 6502 assembly for speed. Eight rotors with dual notches, plugboard, and the double-step anomaly, all on a 1 MHz machine.