Struct hmac::Hmac [−][src]
pub struct Hmac<D> where
D: Update + 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: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>, [src]
impl<D> Clone for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>, [src]fn clone(&self) -> Hmac<D>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<D> Debug for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone + Debug,
D::BlockSize: ArrayLength<u8>, [src]
impl<D> Debug for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone + Debug,
D::BlockSize: ArrayLength<u8>, [src]impl<D> Mac for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>, [src]
impl<D> Mac for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>, [src]impl<D> NewMac for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>, [src]
impl<D> NewMac for Hmac<D> where
D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>, [src]type KeySize = D::BlockSize
Key size in bytes with which cipher guaranteed to be initialized.
fn new(key: &GenericArray<u8, Self::KeySize>) -> Self[src]
fn new_from_slice(key: &[u8]) -> Result<Self, InvalidKeyLength>[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
The resulting type after obtaining ownership.