[−][src]Trait lea::ctr::stream::StreamCipher
Stream cipher core trait which covers both synchronous and asynchronous ciphers.
Note that for synchronous ciphers encrypt
and decrypt
are equivalent to
each other.
Required methods
pub fn encrypt(&mut self, data: &mut [u8])
[src]
Encrypt data in place.
pub fn decrypt(&mut self, data: &mut [u8])
[src]
Decrypt data in place.
Implementors
impl<C> StreamCipher for C where
C: SyncStreamCipher,
[src]
C: SyncStreamCipher,