pub struct HmacSha512Algo;Expand description
HMAC-SHA-512 adapter.
Trait Implementations§
Source§impl MacAlgorithmAdapter for HmacSha512Algo
impl MacAlgorithmAdapter for HmacSha512Algo
Source§const ALG: MacAlgorithm = MacAlgorithm::HmacSha512
const ALG: MacAlgorithm = MacAlgorithm::HmacSha512
The MAC algorithm selector this adapter implements.
Source§fn authenticate(
params: &MacParams<'_>,
message: &[u8],
) -> Result<Vec<u8>, AlgorithmError>
fn authenticate( params: &MacParams<'_>, message: &[u8], ) -> Result<Vec<u8>, AlgorithmError>
Compute a MAC tag over
message.Auto Trait Implementations§
impl Freeze for HmacSha512Algo
impl RefUnwindSafe for HmacSha512Algo
impl Send for HmacSha512Algo
impl Sync for HmacSha512Algo
impl Unpin for HmacSha512Algo
impl UnsafeUnpin for HmacSha512Algo
impl UnwindSafe for HmacSha512Algo
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