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