Cipher

Trait Cipher 

Source
pub trait Cipher {
    // Required methods
    fn encrypt(&self, text: &str) -> String;
    fn decrypt(&self, text: &str) -> String;
}

Required Methods§

Source

fn encrypt(&self, text: &str) -> String

Source

fn decrypt(&self, text: &str) -> String

Implementors§