[][src]Trait over_there_wire::Decrypter

pub trait Decrypter {
    fn decrypt(
        &self,
        buffer: &[u8],
        associated_data: &AssociatedData
    ) -> Result<Vec<u8>, CryptError>; }

Capable of decrypting data

Required methods

fn decrypt(
    &self,
    buffer: &[u8],
    associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>

Loading content...

Implementations on Foreign Types

impl Decrypter for NoopBicrypter[src]

fn decrypt(&self, buffer: &[u8], &AssociatedData) -> Result<Vec<u8>, CryptError>[src]

Does nothing but return existing data - NoOp

impl Decrypter for Aes128SivBicrypter[src]

impl<D> Decrypter for DecrypterHalf<D> where
    D: Decrypter
[src]

impl Decrypter for Aes256SivBicrypter[src]

impl Decrypter for Aes256GcmBicrypter[src]

impl<T> Decrypter for NonceCacheBicrypter<T> where
    T: Bicrypter
[src]

impl Decrypter for Aes128GcmBicrypter[src]

impl Decrypter for Aes128GcmSivBicrypter[src]

impl<F> Decrypter for ClosureDecrypter<F> where
    F: Fn(&[u8], &AssociatedData) -> Result<Vec<u8>, CryptError> + Clone
[src]

impl Decrypter for Aes256GcmSivBicrypter[src]

Loading content...

Implementors

Loading content...