Crazy Optimization of Chaocipher…
Okay, this is a minor hack, but I thought it was fun, so I thought I’d write it up here. My original code for simulating the Chaocipher machine proceeded as follows: it found the character in the plaintext wheel (by linear search), then rotated each wheel to get the plain and cipher text entry to […]