Struct crev_common::blake2b256::Blake2b256 [−][src]
pub struct Blake2b256(_);
Trait Implementations
type OutputSize = U32
type OutputSize = U32
Output size for fixed output digest
Write result into provided array and consume the hasher instance.
Write result into provided array and reset the hasher instance.
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
Retrieve result and consume the hasher instance.
fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
Retrieve result and reset the hasher instance.
Auto Trait Implementations
impl RefUnwindSafe for Blake2b256
impl Send for Blake2b256
impl Sync for Blake2b256
impl Unpin for Blake2b256
impl UnwindSafe for Blake2b256
Blanket Implementations
Mutably borrows from an owned value. Read more
type OutputSize = <D as FixedOutput>::OutputSize
type OutputSize = <D as FixedOutput>::OutputSize
Output size for Digest
pub fn new() -> D
pub fn new() -> D
Create new hasher instance
Retrieve result and consume hasher instance.
pub fn finalize_reset(&mut self) -> GenericArray<u8, <D as Digest>::OutputSize>
pub fn finalize_reset(&mut self) -> GenericArray<u8, <D as Digest>::OutputSize>
Retrieve result and reset hasher instance. Read more
pub fn reset(&mut self)
pub fn reset(&mut self)
Reset hasher instance to its initial state.
pub fn output_size() -> usize
pub fn output_size() -> usize
Get output size of the hasher
impl<D> DynDigest for D where
D: 'static + Update + FixedOutput + Reset + Clone,
impl<D> DynDigest for D where
D: 'static + Update + FixedOutput + Reset + Clone,
Retrieve result and consume boxed hasher instance
pub fn reset(&mut self)
pub fn reset(&mut self)
Reset hasher instance to its initial state.
pub fn output_size(&self) -> usize
pub fn output_size(&self) -> usize
Get output size of the hasher
type Output = T
type Output = T
Should always be Self