pub struct Aes256Ctr { /* private fields */ }Expand description
AES-256 in CTR mode.
Create a new cipher with new.
xor_keystream to encrypt or decrypt
(CTR mode is symmetric).
You can move in the keystream with set_counter.
Implementations§
Trait Implementations§
Source§impl StreamCipher for Aes256Ctr
impl StreamCipher for Aes256Ctr
fn xor_keystream(&mut self, in_out: &mut [u8])
Auto Trait Implementations§
impl Freeze for Aes256Ctr
impl RefUnwindSafe for Aes256Ctr
impl Send for Aes256Ctr
impl Sync for Aes256Ctr
impl Unpin for Aes256Ctr
impl UnsafeUnpin for Aes256Ctr
impl UnwindSafe for Aes256Ctr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more