A Software Craft

HomeBadges

Enigma 2: Encrypting characters

Feb 14, 20214 min read

Each rotor in the Enigma machine performs a simple character substitution for each letter A-Z. The substitution is described by a string, like "EKMFLGDQVZNTOWYHXUSPAIBRCJ". This means that, with the rotor in position 0, the first letter, A is change...

Enigma 1: Turning rotors

Feb 9, 20214 min read

I'm currently reading the biography Alan Turing: The Enigma, by Andrew Hodges. So when I started to learn Clojure, I decided a software simulation of the Enigma machine would make an interesting first project. The Enigma was actually a family of el...

© 2021 A Software Craft

PrivacyTerms
Proudly part of