Struct hmac::Hmac [−][src]
pub struct Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>, { /* fields omitted */ }
Expand description
The Hmac
struct represents an HMAC using a given hash function D
.
Trait Implementations
impl<D> Clone for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
impl<D> Clone for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
impl<D> Debug for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone + Debug,
D::BlockSize: ArrayLength<u8>,
impl<D> Debug for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone + Debug,
D::BlockSize: ArrayLength<u8>,
impl<D> Mac for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>,
impl<D> Mac for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>,
impl<D> NewMac for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>,
impl<D> NewMac for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>,
Initialize new MAC instance from key with fixed size.
Initialize new MAC instance from key with variable size. Read more
Auto Trait Implementations
impl<D> RefUnwindSafe for Hmac<D> where
D: RefUnwindSafe,
<<D as BlockInput>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<D> Unpin for Hmac<D> where
D: Unpin,
<<D as BlockInput>::BlockSize as ArrayLength<u8>>::ArrayType: Unpin,
impl<D> UnwindSafe for Hmac<D> where
D: UnwindSafe,
<<D as BlockInput>::BlockSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more