pub trait AsyncStreamCipher {
    // Required methods
    fn encrypt(&mut self, data: &mut [u8]);
    fn decrypt(&mut self, data: &mut [u8]);
}
Expand description

Asynchronous stream cipher core trait.

Required Methods§

source

fn encrypt(&mut self, data: &mut [u8])

Encrypt data in place.

source

fn decrypt(&mut self, data: &mut [u8])

Decrypt data in place.

Implementors§