pub struct Sha256VarCore<S: Sha256> { /* private fields */ }Expand description
Core block-level SHA-256 hasher with variable output size.
Supports initialization only for the 32 byte output size.
Trait Implementations§
Source§impl<S: Sha256> AlgorithmName for Sha256VarCore<S>
impl<S: Sha256> AlgorithmName for Sha256VarCore<S>
Source§fn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into
f.Source§impl<S: Sha256> BlockSizeUser for Sha256VarCore<S>
impl<S: Sha256> BlockSizeUser for Sha256VarCore<S>
Source§impl<S: Sha256> BufferKindUser for Sha256VarCore<S>
impl<S: Sha256> BufferKindUser for Sha256VarCore<S>
Source§type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
Source§impl<S: Clone + Sha256> Clone for Sha256VarCore<S>
impl<S: Clone + Sha256> Clone for Sha256VarCore<S>
Source§fn clone(&self) -> Sha256VarCore<S>
fn clone(&self) -> Sha256VarCore<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Sha256> Debug for Sha256VarCore<S>
impl<S: Sha256> Debug for Sha256VarCore<S>
Source§impl<S: Sha256> OutputSizeUser for Sha256VarCore<S>
impl<S: Sha256> OutputSizeUser for Sha256VarCore<S>
Source§impl<S: Sha256> UpdateCore for Sha256VarCore<S>
impl<S: Sha256> UpdateCore for Sha256VarCore<S>
Source§fn update_blocks(&mut self, blocks: &[Block<Self>])
fn update_blocks(&mut self, blocks: &[Block<Self>])
Update state using the provided data blocks.
Source§impl<S: Sha256> VariableOutputCore for Sha256VarCore<S>
impl<S: Sha256> VariableOutputCore for Sha256VarCore<S>
impl<S: Sha256> HashMarker for Sha256VarCore<S>
Auto Trait Implementations§
impl<S> Freeze for Sha256VarCore<S>
impl<S> RefUnwindSafe for Sha256VarCore<S>
impl<S> Send for Sha256VarCore<S>
impl<S> Sync for Sha256VarCore<S>
impl<S> Unpin for Sha256VarCore<S>
impl<S> UnwindSafe for Sha256VarCore<S>
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