pub struct Blake2b256;Expand description
BLAKE2b-256 hash function (32-byte output, RFC 7693).
Implementations§
Source§impl Blake2b256
impl Blake2b256
Sourcepub const DIGEST_LEN: usize = 32
pub const DIGEST_LEN: usize = 32
Byte length of the BLAKE2b-256 digest output.
Sourcepub const BLOCK_SIZE: usize = 128
pub const BLOCK_SIZE: usize = 128
BLAKE2b block size in bytes (RFC 7693).
Trait Implementations§
Source§impl Clone for Blake2b256
impl Clone for Blake2b256
Source§fn clone(&self) -> Blake2b256
fn clone(&self) -> Blake2b256
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Blake2b256
impl Debug for Blake2b256
Source§impl Default for Blake2b256
impl Default for Blake2b256
Source§fn default() -> Blake2b256
fn default() -> Blake2b256
Returns the “default value” for a type. Read more
Source§impl Hash for Blake2b256
impl Hash for Blake2b256
impl Copy for Blake2b256
Auto Trait Implementations§
impl Freeze for Blake2b256
impl RefUnwindSafe for Blake2b256
impl Send for Blake2b256
impl Sync for Blake2b256
impl Unpin for Blake2b256
impl UnsafeUnpin for Blake2b256
impl UnwindSafe for Blake2b256
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