[][src]Struct hmac::Hmac

pub struct Hmac<D> where
    D: Input + BlockInput + FixedOutput + Reset + Default + Clone,
    D::BlockSize: ArrayLength<u8>, 
{ /* fields omitted */ }

The Hmac struct represents an HMAC using a given hash function D.

Trait Implementations

impl<D> Clone for Hmac<D> where
    D: Input + BlockInput + FixedOutput + Reset + Default + Clone,
    D::BlockSize: ArrayLength<u8>, 
[src]

impl<D> Debug for Hmac<D> where
    D: Input + BlockInput + FixedOutput + Reset + Default + Clone + Debug,
    D::BlockSize: ArrayLength<u8>, 
[src]

impl<D> Mac for Hmac<D> where
    D: Input + BlockInput + FixedOutput + Reset + Default + Clone,
    D::BlockSize: ArrayLength<u8>,
    D::OutputSize: ArrayLength<u8>, 
[src]

type OutputSize = D::OutputSize

type KeySize = D::BlockSize

Auto Trait Implementations

impl<D> RefUnwindSafe for Hmac<D> where
    D: RefUnwindSafe,
    <<D as BlockInput>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe

impl<D> Send for Hmac<D> where
    D: Send

impl<D> Sync for Hmac<D> where
    D: Sync

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.