Trait Crypter
forge_crypter
pub trait Crypter { fn encrypt(&self, message: &[u8]) -> Vec<u8>; fn decrypt(&self, message: &[u8]) -> Vec<u8>; }
trait Crypter has two function:
fn encrypt(&self, message: &[u8]) -> Vec<u8>
fn decrypt(&self, message: &[u8]) -> Vec<u8>
impl Crypter for Aes