Steps to reproduce the bug
- Navigate to cryptii.com.
- Use the following machine configurations
Machine type: Enigma S
Rotor 1: type I, position 1, ring 1
Rotor 2: type II, position 1, ring 1
Rotor 3: type III, position 1, ring 1
- Wipe the plugboard field
- Include foreign chars
- Encode the string "uadenis" (omitting the double quotes)
The output will be "gkkdooa", but I expected "gkkdjta".
Looking at the code into Enigma.js, I found that Enigma S rotor II reports this wiring "UEMOATQLSHPKCYFWJZBGVXINDR" instead of the wiring documented over the internet which is "UEMOATQLSHPKCYFWJZBGVXIDNR".
It seams that the trailing 3 chars are different (Cryptii uses NDR instead of DNR).
Please have a look of https://www.cryptomuseum.com/crypto/enigma/wiring.htm#12
Could you please clarify?
Thanks.
Denis