I've been trying to make an algorithm work like the real Enigma machine, fully customizable. I use two online emulators to check that my encoded message is correct :
Currently, without the plugboard, it seems that it works correctly... until some weird rotors configuration happens. So here is the exact setup : The leftmost rotor is V The middle rotor is I The rightmost rotor is III
The initial configuration is ZPK. The ring setting is AAA.
After some letters, according to my algorithm, the rotor configuration goes:
- ZPV
- ZQW
- ZQX
I am aware of the double stepping mechanism, and 26 keys pressed later we should have
- ZQV
- ZRW
- ASX
BUT, both online simulation have this sequence:
- ZPV
- ZQW
- ARX
As is rotor I going from P to Q is the turnover, while all the other sources I've seen say it's from Q to R (Royal Flag Wave Kings Above...)
Am I crazy, or did I miss something?
Thanks for your help!