pub struct Keccak512 { /* private fields */ }
Expand description
Multihash hasher.
Trait Implementations§
Source§impl StatefulHasher for Keccak512
impl StatefulHasher for Keccak512
Source§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>
The maximum Digest size for that hasher (it is stack allocated).
Source§type Digest = KeccakDigest<<Keccak512 as StatefulHasher>::Size>
type Digest = KeccakDigest<<Keccak512 as StatefulHasher>::Size>
The Digest type to distinguish the output of different
Hasher
implementations.Auto Trait Implementations§
impl Freeze for Keccak512
impl RefUnwindSafe for Keccak512
impl Send for Keccak512
impl Sync for Keccak512
impl Unpin for Keccak512
impl UnwindSafe for Keccak512
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
Source§impl<T> Hasher for Twhere
T: StatefulHasher,
impl<T> Hasher for Twhere
T: StatefulHasher,
Source§type Size = <T as StatefulHasher>::Size
type Size = <T as StatefulHasher>::Size
The maximum Digest size for that hasher (it is stack allocated).
Source§type Digest = <T as StatefulHasher>::Digest
type Digest = <T as StatefulHasher>::Digest
The Digest type to distinguish the output of different
Hasher
implementations.