1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
Enigma-Machine/docs/Dev Notes.txt

41 lines
1.1 KiB
Text
Raw Normal View History

2015-10-11 16:58:21 +01:00
Working:
multiple rotor wheels (5, choose 3) (8 for naval)
different wireing in each wheel
plug board link 2 letters (2 way link). 10 links, 20 letters used up
Fixed, non rotating wheel for relaying back through rotors
Letters could not be mapped to themselves! (Biggest flaw!)
Options:
Random generated rotors (use random seed)
rotors from given seed
rotors from actual setup (if available)
plug board from random seed or given seed
option to skip plug board
relay from random seed or given seed, or actual setup
option to output text character by character (no enter required!)
option to convert string (output letter individually)
option to read / write string to file.
option to read all setup from file.
Process:
Keyboard : Plug Board : Rotor 1 : Rotor 2 : Rotor 3 : Relay : Rotor 3 : Rotor 2 : Rotor 1 : Plug Board : Key lights
Code Steps:
Calculate rotor codes (store to dictionary) (create all 5)
select 3 random rotors
generate plug board values (store to dictionary)
Get input char
pass through plug board
rotor 1 2 3
pass through relay
rotor 3 2 1
pass through plug board