Struct Enigma
enigma_machine
pub struct Enigma { /* fields omitted */ }
impl Enigma
fn new(routers: Vec<Router>, plugboard: Plugboard, reflector: Reflector) -> Self
fn encrypt(&mut self, string: &str) -> String
fn decrypt(&mut self, string: &str) -> String
fn set_positions(&mut self, positions: &str) -> &Self