pub struct Sha512(/* private fields */);Available on crate feature
use-sha only.Expand description
SHA-512 hasher implementation
Trait Implementations§
Source§impl Hash for Sha512
impl Hash for Sha512
Source§fn hmac_many(key: &[u8], data: &[&[u8]]) -> Self::Output
fn hmac_many(key: &[u8], data: &[&[u8]]) -> Self::Output
Calculate HMAC with the given key and messages
Source§fn hmac(key: &[u8], data: &[u8]) -> Self::Output
fn hmac(key: &[u8], data: &[u8]) -> Self::Output
Calculate HMAC with the given key and message
Auto Trait Implementations§
impl Freeze for Sha512
impl RefUnwindSafe for Sha512
impl Send for Sha512
impl Sync for Sha512
impl Unpin for Sha512
impl UnwindSafe for Sha512
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