pub struct HmacUtilsImpl<H>{ /* private fields */ }
Expand description
Generic implementation of HmacUtils parameterized on a [Hasher] type.
Implementations§
Trait Implementations§
Source§impl<H> Clone for HmacUtilsImpl<H>
impl<H> Clone for HmacUtilsImpl<H>
Source§fn clone(&self) -> HmacUtilsImpl<H>
fn clone(&self) -> HmacUtilsImpl<H>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<H> Debug for HmacUtilsImpl<H>
impl<H> Debug for HmacUtilsImpl<H>
Source§impl<H> HmacUtils for HmacUtilsImpl<H>
impl<H> HmacUtils for HmacUtilsImpl<H>
Source§fn kdf_hash_length(
&self,
key: &[u8],
label: &str,
context: &[u8],
bits: usize,
) -> Vec<u8> ⓘ
fn kdf_hash_length( &self, key: &[u8], label: &str, context: &[u8], bits: usize, ) -> Vec<u8> ⓘ
See: kdf_hash_length()
Source§fn hkdf_extract(&self, salt: &[u8], ikm: &[u8]) -> Vec<u8> ⓘ
fn hkdf_extract(&self, salt: &[u8], ikm: &[u8]) -> Vec<u8> ⓘ
See: hkdf_extract()
Source§fn hkdf_expand(&self, prk: &[u8], info: &str, length: usize) -> Vec<u8> ⓘ
fn hkdf_expand(&self, prk: &[u8], info: &str, length: usize) -> Vec<u8> ⓘ
See: hkdf_expand()
Auto Trait Implementations§
impl<H> Freeze for HmacUtilsImpl<H>
impl<H> RefUnwindSafe for HmacUtilsImpl<H>
impl<H> Send for HmacUtilsImpl<H>
impl<H> Sync for HmacUtilsImpl<H>
impl<H> Unpin for HmacUtilsImpl<H>
impl<H> UnwindSafe for HmacUtilsImpl<H>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)