pub struct Blake3Engine;Expand description
BLAKE3 hash engine with built-in SIMD support
BLAKE3 is a modern, extremely fast cryptographic hash function that:
- Has built-in SIMD optimizations (AVX2, AVX-512, NEON)
- Is faster than SHA2-256 and SHA3-256
- Provides 256-bit output (32 bytes)
- Is designed for modern CPUs
BLAKE3 automatically uses the best available SIMD instructions for the current CPU architecture.
Implementations§
Source§impl Blake3Engine
impl Blake3Engine
Trait Implementations§
Source§impl Default for Blake3Engine
impl Default for Blake3Engine
Source§impl HashEngine for Blake3Engine
impl HashEngine for Blake3Engine
Auto Trait Implementations§
impl Freeze for Blake3Engine
impl RefUnwindSafe for Blake3Engine
impl Send for Blake3Engine
impl Sync for Blake3Engine
impl Unpin for Blake3Engine
impl UnwindSafe for Blake3Engine
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more