pub struct Ctr<C: Cipher> { /* private fields */ }
Expand description
Create a new encrypting CTR instance with key
.
Create a new decrypting CTR instance with key
.
Block size of the underlying cipher in bytes.
Encrypt a single block src
using the initialization vector
iv
to a ciphertext block dst
. Read more
Decrypt a single ciphertext block src
using the
initialization vector iv
to a plaintext block dst
. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.