Trait Solve
classic_crypto
pub trait Solve { fn solve(&mut self, language: &mut Language, msg: &str); }
Trait implemented by ciphers which can be automatically solved
fn solve(&mut self, language: &mut Language, msg: &str)
Solve the ciphertext given in msg, the cipher instance will be updated with the key of the best solution.
language
Language
msg
impl Solve for Affine
impl Solve for Autokey
impl Solve for Beaufort
impl Solve for Bellaso
impl Solve for BlockTransposition
impl Solve for Caesar
impl Solve for ClassicVigenere
impl Solve for ColumnTransposition
impl Solve for Porta
impl Solve for Railfence
impl Solve for Scytale
impl Solve for SimpleSubstitution