Struct streebog::StreebogVarCore
source · pub struct StreebogVarCore { /* private fields */ }
Expand description
Core block-level Streebog hasher with variable output size.
Supports initialization only for 32 and 64 byte output sizes, i.e. 256 and 512 bits respectively.
Trait Implementations§
source§impl AlgorithmName for StreebogVarCore
impl AlgorithmName for StreebogVarCore
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 StreebogVarCore
impl BlockSizeUser for StreebogVarCore
source§impl BufferKindUser for StreebogVarCore
impl BufferKindUser for StreebogVarCore
source§type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
source§impl Clone for StreebogVarCore
impl Clone for StreebogVarCore
source§fn clone(&self) -> StreebogVarCore
fn clone(&self) -> StreebogVarCore
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 StreebogVarCore
impl Debug for StreebogVarCore
source§impl OutputSizeUser for StreebogVarCore
impl OutputSizeUser for StreebogVarCore
source§impl UpdateCore for StreebogVarCore
impl UpdateCore for StreebogVarCore
source§fn update_blocks(&mut self, blocks: &[GenBlock<Self>])
fn update_blocks(&mut self, blocks: &[GenBlock<Self>])
Update state using the provided data blocks.
source§impl VariableOutputCore for StreebogVarCore
impl VariableOutputCore for StreebogVarCore
impl HashMarker for StreebogVarCore
Auto Trait Implementations§
impl Freeze for StreebogVarCore
impl RefUnwindSafe for StreebogVarCore
impl Send for StreebogVarCore
impl Sync for StreebogVarCore
impl Unpin for StreebogVarCore
impl UnwindSafe for StreebogVarCore
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
)