[][src]Trait hips::Encrypter

pub trait Encrypter {
    fn encrypt(&mut self, secret: Secret) -> Result<Encrypted>;
fn decrypt(&mut self, encrypted: Encrypted) -> Result<Secret>; }

Required methods

fn encrypt(&mut self, secret: Secret) -> Result<Encrypted>

fn decrypt(&mut self, encrypted: Encrypted) -> Result<Secret>

Loading content...

Implementors

Loading content...