pub struct Blake2b256Engine;Expand description
BLAKE2b-256 hash engine
BLAKE2b is a cryptographic hash function optimized for 64-bit platforms. This variant produces 256-bit (32-byte) hashes.
BLAKE2b features:
- Faster than MD5, SHA-1, SHA-2, and SHA-3
- At least as secure as SHA-3
- No known attacks better than brute force
- Simple design with no padding required
Implementations§
Trait Implementations§
Source§impl Clone for Blake2b256Engine
impl Clone for Blake2b256Engine
Source§fn clone(&self) -> Blake2b256Engine
fn clone(&self) -> Blake2b256Engine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Blake2b256Engine
impl Debug for Blake2b256Engine
Source§impl Default for Blake2b256Engine
impl Default for Blake2b256Engine
Source§fn default() -> Blake2b256Engine
fn default() -> Blake2b256Engine
Returns the “default value” for a type. Read more
Source§impl HashEngine for Blake2b256Engine
impl HashEngine for Blake2b256Engine
impl Copy for Blake2b256Engine
Auto Trait Implementations§
impl Freeze for Blake2b256Engine
impl RefUnwindSafe for Blake2b256Engine
impl Send for Blake2b256Engine
impl Sync for Blake2b256Engine
impl Unpin for Blake2b256Engine
impl UnwindSafe for Blake2b256Engine
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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