Struct crev_common::blake2b256::Blake2b256
source · [−]pub struct Blake2b256(_);
Trait Implementations
sourceimpl Clone for Blake2b256
impl Clone for Blake2b256
sourcefn clone(&self) -> Blake2b256
fn clone(&self) -> Blake2b256
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Blake2b256
impl Debug for Blake2b256
sourceimpl Default for Blake2b256
impl Default for Blake2b256
sourceimpl FixedOutput for Blake2b256
impl FixedOutput for Blake2b256
type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>
type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>
Output size for fixed output digest
sourcefn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>)
fn finalize_into(self, out: &mut GenericArray<u8, Self::OutputSize>)
Write result into provided array and consume the hasher instance.
sourcefn finalize_into_reset(&mut self, out: &mut GenericArray<u8, Self::OutputSize>)
fn finalize_into_reset(&mut self, out: &mut GenericArray<u8, Self::OutputSize>)
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.
sourceimpl Reset for Blake2b256
impl Reset for Blake2b256
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<D> Digest for D where
D: Update + FixedOutput + Reset + Clone + Default,
impl<D> Digest for D where
D: Update + FixedOutput + Reset + Clone + Default,
type OutputSize = <D as FixedOutput>::OutputSize
type OutputSize = <D as FixedOutput>::OutputSize
Output size for Digest
fn new() -> D
fn new() -> D
Create new hasher instance
fn finalize(self) -> GenericArray<u8, <D as Digest>::OutputSize>
fn finalize(self) -> GenericArray<u8, <D as Digest>::OutputSize>
Retrieve result and consume hasher instance.
fn finalize_reset(&mut self) -> GenericArray<u8, <D as Digest>::OutputSize>
fn finalize_reset(&mut self) -> GenericArray<u8, <D as Digest>::OutputSize>
Retrieve result and reset hasher instance. Read more
fn reset(&mut self)
fn reset(&mut self)
Reset hasher instance to its initial state.
fn output_size() -> usize
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,
fn finalize_reset(&mut self) -> Box<[u8], Global>
fn finalize_reset(&mut self) -> Box<[u8], Global>
Retrieve result and reset hasher instance
fn finalize(self: Box<D, Global>) -> Box<[u8], Global>
fn finalize(self: Box<D, Global>) -> Box<[u8], Global>
Retrieve result and consume boxed hasher instance
fn reset(&mut self)
fn reset(&mut self)
Reset hasher instance to its initial state.
fn output_size(&self) -> usize
fn output_size(&self) -> usize
Get output size of the hasher