Trait hips::Encrypter[][src]

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

Encryption behavior: what does it mean to encrypt/decrypt?

A single Ring encrypter is available at this time. In a past version, an openssl option was also available. You are free to implement your own Encrypter and initialize a new Database with it.

Required methods

Implementors