pub struct Blake3;Expand description
BLAKE3 hash function (32-byte output by default).
Implementations§
Source§impl Blake3
impl Blake3
Sourcepub const DIGEST_LEN: usize = 32
pub const DIGEST_LEN: usize = 32
Byte length of the BLAKE3 default digest output.
Sourcepub const BLOCK_SIZE: usize = 64
pub const BLOCK_SIZE: usize = 64
BLAKE3 block size in bytes.
Trait Implementations§
Source§impl Hash for Blake3
impl Hash for Blake3
impl Copy for Blake3
Auto 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