pub struct EntropyIv(/* private fields */);Expand description
16-byte AES-128-CBC IV for the entropy reconciliation channel.
§Examples
use dynomite::entropy::util::{EntropyIv, ENTROPY_IV_LEN};
let iv = EntropyIv::from_bytes([0x42; ENTROPY_IV_LEN]);
assert_eq!(iv.as_bytes().len(), ENTROPY_IV_LEN);Implementations§
Trait Implementations§
impl Copy for EntropyIv
impl Eq for EntropyIv
impl StructuralPartialEq for EntropyIv
Auto Trait Implementations§
impl Freeze for EntropyIv
impl RefUnwindSafe for EntropyIv
impl Send for EntropyIv
impl Sync for EntropyIv
impl Unpin for EntropyIv
impl UnsafeUnpin for EntropyIv
impl UnwindSafe for EntropyIv
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.