Function ultra::decrypt [−][src]
pub fn decrypt(msg: &str) -> (String, Enigma)
Decrypts the given string by iterating through multiple possible Enigma
configurations, returning (plaintext, Enigma)
corresponding to the most
probable decryption.
Assumes msg
contains only uppercase ASCII characters.