pub struct Iv([u32; 4]);
Expand description
The IV for a single block encryption.
Intentionally not Clone
to ensure each is used only once.
Tuple Fields§
§0: [u32; 4]
Implementations§
source§impl Iv
impl Iv
fn assume_unique_for_key(value: [u8; 16]) -> Self
fn into_counter_for_single_block_less_safe(self) -> Counter
Auto Trait Implementations§
impl Freeze for Iv
impl RefUnwindSafe for Iv
impl Send for Iv
impl Sync for Iv
impl Unpin for Iv
impl UnwindSafe for Iv
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