logo
pub trait AsyncStreamCipher: Sized {
    fn encrypt_inout(self, data: InOutBuf<'_, '_, u8>)
    where
        Self: BlockEncryptMut
, { ... }
fn decrypt_inout(self, data: InOutBuf<'_, '_, u8>)
    where
        Self: BlockDecryptMut
, { ... }
fn encrypt(self, buf: &mut [u8])
    where
        Self: BlockEncryptMut
, { ... }
fn decrypt(self, buf: &mut [u8])
    where
        Self: BlockDecryptMut
, { ... }
fn encrypt_b2b(
        self,
        in_buf: &[u8],
        out_buf: &mut [u8]
    ) -> Result<(), NotEqualError>
    where
        Self: BlockEncryptMut
, { ... }
fn decrypt_b2b(
        self,
        in_buf: &[u8],
        out_buf: &mut [u8]
    ) -> Result<(), NotEqualError>
    where
        Self: BlockDecryptMut
, { ... } }
Expand description

Marker trait for block-level asynchronous stream ciphers

Provided methods

Encrypt data using InOutBuf.

Decrypt data using InOutBuf.

Encrypt data in place.

Decrypt data in place.

Encrypt data from buffer to buffer.

Decrypt data from buffer to buffer.

Implementors