Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETW for Enigma-Railway is not correct #122

Closed
tigertv opened this issue Aug 26, 2021 · 2 comments
Closed

ETW for Enigma-Railway is not correct #122

tigertv opened this issue Aug 26, 2021 · 2 comments
Labels

Comments

@tigertv
Copy link

tigertv commented Aug 26, 2021

I suppose that wiring of ETW for Enigma-Railway is not correct ('jwulcmnohpqzyxiradkegvbtsf')
This should be 'qwertzuioasdfghjkpyxcvbnml'.

https://www.cryptomuseum.com/crypto/enigma/k/railway.htm
https://en.wikipedia.org/wiki/Enigma_rotor_details#Rotor_wiring_tables

@tigertv tigertv added the bug label Aug 26, 2021
@ffraenz
Copy link
Member

ffraenz commented Aug 26, 2021

The wiring of the ETW you mention is encoded in the 'reverse direction' as that's how this implementation maps chars:

abcdefghijklmnopqrstuvwxyz
jwulcmnohpqzyxiradkegvbtsf

When you look up q you get a (below), which is the first char in the alphabet. When you look up w you get b which is the second one, etc.

The underlying wiring information is equivalent to what is encoded in the string qwertzuioasdfghjkpyxcvbnml.

@tigertv
Copy link
Author

tigertv commented Aug 26, 2021

It's true and only intution about keyboard helps, because other rotors are not used in the 'reverse direction' for the notation.

https://de.wikipedia.org/wiki/Enigma-Walzen

ETW (D) | JWULCMNOHPQZYXIRADKEGVBTSF | 1926 | Kommerz. D
ETW | QWERTZUIOASDFGHJKPYXCVBNML | 7. Februar 1941 | Reichsbahn

@tigertv tigertv closed this as completed Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants