pub struct AesCtr { /* private fields */ }Expand description
AES in CTR (counter) mode, as in NIST SP 800-38A.
- Data may have any length.
- Encryption and decryption are the same operation.
- The 16-byte counter block is a big-endian integer, incremented once per block.
- The initial counter block must never repeat for the same key.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AesCtr
impl RefUnwindSafe for AesCtr
impl Send for AesCtr
impl Sync for AesCtr
impl Unpin for AesCtr
impl UnsafeUnpin for AesCtr
impl UnwindSafe for AesCtr
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