When writing a program for an encryption machine, a paper model is a must. This allows you to see the correct values of all the intermediate steps for a given input.
You can download an excel file here that simulates the signal path through the rotors
The assembly file already implements the signal path through the 3 right rotors. The next step is to write code to go through the reflector and come back the rotors.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.