Cryptanalysis of the Enigma machine in Rust.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
iKevinY opened this issue 3 years ago · comments
This might be faster as an explicit loop where the outgoing character is modulo'd off the accumulated index, the index is multiplied by 26, then the incoming character is added in.
ultra/src/fitness.rs
Lines 66 to 69 in 5ac5ef0