pub trait EncrypterExt: Encrypter {
    // Provided method
    fn ser_encrypt<T: Serialize>(&self, value: &T) -> Result<Ciphertext<T>> { ... }
}

Provided Methods§

source

fn ser_encrypt<T: Serialize>(&self, value: &T) -> Result<Ciphertext<T>>

Serializes the given value into a new vector, then encrypts it and returns the resulting ciphertext.

Implementors§