Struct whirlpool::WhirlpoolCore
source · [−]pub struct WhirlpoolCore { /* private fields */ }
Expand description
Core Whirlpool hasher state.
Trait Implementations
sourceimpl AlgorithmName for WhirlpoolCore
impl AlgorithmName for WhirlpoolCore
sourcefn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into f
.
sourceimpl BlockSizeUser for WhirlpoolCore
impl BlockSizeUser for WhirlpoolCore
sourceimpl BufferKindUser for WhirlpoolCore
impl BufferKindUser for WhirlpoolCore
type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
sourceimpl Clone for WhirlpoolCore
impl Clone for WhirlpoolCore
sourcefn clone(&self) -> WhirlpoolCore
fn clone(&self) -> WhirlpoolCore
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 WhirlpoolCore
impl Debug for WhirlpoolCore
sourceimpl Default for WhirlpoolCore
impl Default for WhirlpoolCore
sourceimpl FixedOutputCore for WhirlpoolCore
impl FixedOutputCore for WhirlpoolCore
sourcefn finalize_fixed_core(
&mut self,
buffer: &mut Buffer<Self>,
out: &mut Output<Self>
)
fn finalize_fixed_core(
&mut self,
buffer: &mut Buffer<Self>,
out: &mut Output<Self>
)
Finalize state using remaining data stored in the provided block buffer,
write result into provided array and leave self
in a dirty state. Read more
sourceimpl OutputSizeUser for WhirlpoolCore
impl OutputSizeUser for WhirlpoolCore
sourceimpl Reset for WhirlpoolCore
impl Reset for WhirlpoolCore
sourceimpl UpdateCore for WhirlpoolCore
impl UpdateCore for WhirlpoolCore
sourcefn update_blocks(&mut self, blocks: &[Block<Self>])
fn update_blocks(&mut self, blocks: &[Block<Self>])
Update state using the provided data blocks.
impl HashMarker for WhirlpoolCore
Auto Trait Implementations
impl RefUnwindSafe for WhirlpoolCore
impl Send for WhirlpoolCore
impl Sync for WhirlpoolCore
impl Unpin for WhirlpoolCore
impl UnwindSafe for WhirlpoolCore
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