Struct cryptohash::Blake2b
[−]
[src]
pub struct Blake2b {}
Wraps Blake2b in the CryptoHash
trait
Trait Implementations
impl Clone for Blake2b
[src]
fn clone(&self) -> Blake2b
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Blake2b
[src]
impl CryptoHash for Blake2b
[src]
type State = Blake2b
The hash-state currently being computed
type Digest = BlakeDigestWrap
The output type of the hash function
const NULL: Self::Digest
NULL: Self::Digest = BlakeDigestWrap([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
All zero hash, used as Null/None
fn state() -> Self::State
[src]
Constructor for a new hash-state