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
Source§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.
Source§impl VariableOutputCore for Sha256VarCore
impl VariableOutputCore for Sha256VarCore
impl HashMarker for Sha256VarCore
Auto Trait Implementations§
impl Freeze for Sha256VarCore
impl RefUnwindSafe for Sha256VarCore
impl Send for Sha256VarCore
impl Sync for Sha256VarCore
impl Unpin for Sha256VarCore
impl UnwindSafe for Sha256VarCore
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)