Trait classic_crypto::Solve[][src]

pub trait Solve {
    fn solve(&mut self, language: &mut Language, msg: &str);
}
Expand description

Trait implemented by ciphers which can be automatically solved

Required methods

fn solve(&mut self, language: &mut Language, msg: &str)[src]

Solve the ciphertext given in msg, the cipher instance will be updated with the key of the best solution.

Arguments

  • language A borrowed instance of the currently loaded Language
  • msg The message to solve

Implementors

impl Solve for Affine[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for Autokey[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for Beaufort[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for Bellaso[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for BlockTransposition[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for Caesar[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for ClassicVigenere[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for ColumnTransposition[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for Porta[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for Railfence[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for Scytale[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]

impl Solve for SimpleSubstitution[src]

fn solve(&mut self, language: &mut Language, msg: &str)[src]