pub struct Sha512_224 { /* private fields */ }Expand description
SHA-512/224 hasher (FIPS 180-4). 224-bit output, 128-byte blocks.
Uses the SHA-512 compression function (efficient on 64-bit hardware) with a distinct IV and a 28-byte truncation.
Trait Implementations§
Source§impl Clone for Sha512_224
impl Clone for Sha512_224
Source§fn clone(&self) -> Sha512_224
fn clone(&self) -> Sha512_224
Returns a duplicate 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 Hasher for Sha512_224
impl Hasher for Sha512_224
Source§const OUTPUT_LEN: usize = 28
const OUTPUT_LEN: usize = 28
Output size in bytes.
Source§fn finalize_into(self, out: &mut [u8])
fn finalize_into(self, out: &mut [u8])
Finalize into a caller-provided buffer (no allocation).
Auto Trait Implementations§
impl Freeze for Sha512_224
impl RefUnwindSafe for Sha512_224
impl Send for Sha512_224
impl Sync for Sha512_224
impl Unpin for Sha512_224
impl UnsafeUnpin for Sha512_224
impl UnwindSafe for Sha512_224
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