abbi-gehl / masm-enigma

This is a digital simulation of the German Enigma machine written in x64 masm assembly and C++
Apache License 2.0
1 stars 0 forks source link

EPIC: Implement rotor mechanism #5

Closed abbi-gehl closed 7 months ago

abbi-gehl commented 8 months ago

The full mechanism will involve 3 rotors in the configuration of the German Enigma.

Overview: Every time a character is inputted, it goes through each rotor, through a reflector, and then back through all the rotors again, changing the character 7 times in total.

Whenever a key is pressed, the first rotor moves one position forward (after the character is changed). At a specific position of the first rotor, both the first and second rotor are changed when a letter is inputted. The same will happen at a specific point in the second rotor so that when both the first and second rotor are aligned correctly, all three rotors will rotate one position at the same time.

abbi-gehl commented 7 months ago

HORRAY! good job team