[−][src]Struct rcrypto::HMAC
Implementations
impl<D: Digest> HMAC<D>
[src]
pub fn new(key: Vec<u8>, digest: D) -> Result<Self, CryptoError>
[src]
pub fn set_key(&mut self, key: Vec<u8>)
[src]
set new key
Trait Implementations
Auto Trait Implementations
impl<D> RefUnwindSafe for HMAC<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
impl<D> Send for HMAC<D> where
D: Send,
D: Send,
impl<D> Sync for HMAC<D> where
D: Sync,
D: Sync,
impl<D> Unpin for HMAC<D> where
D: Unpin,
D: Unpin,
impl<D> UnwindSafe for HMAC<D> where
D: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,