[−][src]Trait over_there_wire::Decrypter
Capable of decrypting data
Required methods
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
Implementations on Foreign Types
impl<D> Decrypter for DecrypterHalf<D> where
D: Decrypter,
[src]
D: Decrypter,
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes256SivBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes128GcmBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
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]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes256GcmBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes128GcmSivBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl<F> Decrypter for ClosureDecrypter<F> where
F: Fn(&[u8], &AssociatedData) -> Result<Vec<u8>, CryptError> + Clone,
[src]
F: Fn(&[u8], &AssociatedData) -> Result<Vec<u8>, CryptError> + Clone,
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl<T> Decrypter for NonceCacheBicrypter<T> where
T: Bicrypter,
[src]
T: Bicrypter,
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes256GcmSivBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>