Struct sha3_const::Sha3_224
source · [−]pub struct Sha3_224 { /* private fields */ }Expand description
The SHA3-224 hash function
Examples
const DIGEST: [u8; 28] = Sha3_224::new()
.update(b"The quick brown fox ")
.update(b"jumps over the lazy dog")
.finalize();
assert_eq!(
[
0xd1, 0x5d, 0xad, 0xce, 0xaa, 0x4d, 0x5d, 0x7b, 0xb3, 0xb4, 0x8f, 0x44, 0x64, 0x21,
0xd5, 0x42, 0xe0, 0x8a, 0xd8, 0x88, 0x73, 0x05, 0xe2, 0x8d, 0x58, 0x33, 0x57, 0x95
],
DIGEST,
);Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sha3_224
impl Send for Sha3_224
impl Sync for Sha3_224
impl Unpin for Sha3_224
impl UnwindSafe for Sha3_224
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more