pub struct Sha224 { /* private fields */ }Expand description
use it if we want to use hacl
Implementations§
Trait Implementations§
Source§impl Digest<28> for Sha224
impl Digest<28> for Sha224
Source§fn hash(digest: &mut [u8], payload: &[u8])
fn hash(digest: &mut [u8], payload: &[u8])
Return the digest for the given input byte slice, in immediate mode.
Will panic if payload is longer than u32::MAX to ensure that hacl-rs can
process it.
Source§fn update(&mut self, payload: &[u8])
fn update(&mut self, payload: &[u8])
Add the payload to the digest.
Will panic if payload is longer than u32::MAX to ensure that hacl-rs can
process it.
Auto Trait Implementations§
impl Freeze for Sha224
impl RefUnwindSafe for Sha224
impl Send for Sha224
impl Sync for Sha224
impl Unpin for Sha224
impl UnwindSafe for Sha224
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