Struct sha2::Sha256VarCore
source · pub struct Sha256VarCore { /* private fields */ }
Expand description
Core block-level SHA-256 hasher with variable output size.
Supports initialization only for 28 and 32 byte output sizes, i.e. 224 and 256 bits respectively.
Trait Implementations§
source§impl AlgorithmName for Sha256VarCore
impl AlgorithmName for Sha256VarCore
source§fn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into
f
.source§impl BlockSizeUser for Sha256VarCore
impl BlockSizeUser for Sha256VarCore
source§impl BufferKindUser for Sha256VarCore
impl BufferKindUser for Sha256VarCore
§type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
source§impl Clone for Sha256VarCore
impl Clone for Sha256VarCore
source§fn clone(&self) -> Sha256VarCore
fn clone(&self) -> Sha256VarCore
Returns a copy 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 Debug for Sha256VarCore
impl Debug for Sha256VarCore
source§impl OutputSizeUser for Sha256VarCore
impl OutputSizeUser for Sha256VarCore
source§impl UpdateCore for Sha256VarCore
impl UpdateCore for Sha256VarCore
source§fn update_blocks(&mut self, blocks: &[Block<Self>])
fn update_blocks(&mut self, blocks: &[Block<Self>])
Update state using the provided data blocks.