Struct cryptor::cryptor::Enigma
[−]
[src]
pub struct Enigma { /* fields omitted */ }
pub struct Enigma { /* fields omitted */ }
impl Enigma
[src]fn new(routers: Vec<Router>, plugboard: Plugboard, reflector: Reflector) -> Self
fn set_positions(&mut self, positions: &str) -> &Self
impl Algorithm for Enigma
[src]type V = Enigma
fn encrypt(&mut self, string: &str) -> CryptoValue<Self::V>
fn decrypt(&mut self, string: &str) -> CryptoValue<Self::V>