pub struct Blake3 { /* private fields */ }Expand description
BLAKE3 hasher.
Trait Implementations§
Source§impl Hasher for Blake3
impl Hasher for Blake3
Source§fn hash(parts: &[&[u8]]) -> Self::Digest
fn hash(parts: &[&[u8]]) -> Self::Digest
Hash the concatenation of
parts in a single shot. Read moreSource§fn hash_across(parts: &[&[u8]], strategy: &impl Strategy) -> Self::Digest
fn hash_across(parts: &[&[u8]], strategy: &impl Strategy) -> Self::Digest
Hash the concatenation of
parts in a single shot, splitting the
work across strategy when the hash function allows it. Read moreSource§fn hash_pair(
left: &[&[u8]],
right: &[&[u8]],
strategy: &impl Strategy,
) -> (Self::Digest, Self::Digest)
fn hash_pair( left: &[&[u8]], right: &[&[u8]], strategy: &impl Strategy, ) -> (Self::Digest, Self::Digest)
Hash two messages, each given as a concatenation of parts, in a
single shot, splitting the work across
strategy when the hash
function allows it. Read moreAuto Trait Implementations§
impl Freeze for Blake3
impl RefUnwindSafe for Blake3
impl Send for Blake3
impl Sync for Blake3
impl Unpin for Blake3
impl UnsafeUnpin for Blake3
impl UnwindSafe for Blake3
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