Struct sha2::Sha512VarCore
source · pub struct Sha512VarCore { /* private fields */ }
Expand description
Core block-level SHA-512 hasher with variable output size.
Supports initialization only for 28, 32, 48, and 64 byte output sizes, i.e. 224, 256, 384, and 512 bits respectively.
Trait Implementations§
source§impl AlgorithmName for Sha512VarCore
impl AlgorithmName for Sha512VarCore
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 Sha512VarCore
impl BlockSizeUser for Sha512VarCore
source§impl BufferKindUser for Sha512VarCore
impl BufferKindUser for Sha512VarCore
§type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
source§impl Clone for Sha512VarCore
impl Clone for Sha512VarCore
source§fn clone(&self) -> Sha512VarCore
fn clone(&self) -> Sha512VarCore
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 Sha512VarCore
impl Debug for Sha512VarCore
source§impl OutputSizeUser for Sha512VarCore
impl OutputSizeUser for Sha512VarCore
source§impl UpdateCore for Sha512VarCore
impl UpdateCore for Sha512VarCore
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 Sha512VarCore
impl VariableOutputCore for Sha512VarCore
impl HashMarker for Sha512VarCore
Auto Trait Implementations§
impl RefUnwindSafe for Sha512VarCore
impl Send for Sha512VarCore
impl Sync for Sha512VarCore
impl Unpin for Sha512VarCore
impl UnwindSafe for Sha512VarCore
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