Struct blake2::Blake2sVarCore
source · pub struct Blake2sVarCore { /* private fields */ }
Expand description
Blake2s instance with a variable output.
Implementations§
Trait Implementations§
source§impl AlgorithmName for Blake2sVarCore
impl AlgorithmName for Blake2sVarCore
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 Blake2sVarCore
impl BlockSizeUser for Blake2sVarCore
source§impl BufferKindUser for Blake2sVarCore
impl BufferKindUser for Blake2sVarCore
§type BufferKind = Lazy
type BufferKind = Lazy
Block buffer kind over which type operates.
source§impl Clone for Blake2sVarCore
impl Clone for Blake2sVarCore
source§fn clone(&self) -> Blake2sVarCore
fn clone(&self) -> Blake2sVarCore
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 Blake2sVarCore
impl Debug for Blake2sVarCore
source§impl Drop for Blake2sVarCore
impl Drop for Blake2sVarCore
source§impl OutputSizeUser for Blake2sVarCore
impl OutputSizeUser for Blake2sVarCore
source§impl Reset for Blake2sVarCore
Available on crate feature reset
only.
impl Reset for Blake2sVarCore
Available on crate feature
reset
only.source§impl UpdateCore for Blake2sVarCore
impl UpdateCore for Blake2sVarCore
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 Blake2sVarCore
impl VariableOutputCore for Blake2sVarCore
source§const TRUNC_SIDE: TruncSide = TruncSide::Left
const TRUNC_SIDE: TruncSide = TruncSide::Left
Side which should be used in a truncated result.
source§fn new(output_size: usize) -> Result<Self, InvalidOutputSize>
fn new(output_size: usize) -> Result<Self, InvalidOutputSize>
Initialize hasher state for given output size. Read more
source§fn finalize_variable_core(
&mut self,
buffer: &mut Buffer<Self>,
out: &mut Output<Self>
)
fn finalize_variable_core( &mut self, buffer: &mut Buffer<Self>, out: &mut Output<Self> )
Finalize hasher and write full hashing result into the
out
buffer. Read moreimpl HashMarker for Blake2sVarCore
impl ZeroizeOnDrop for Blake2sVarCore
Available on crate feature
zeroize
only.Auto Trait Implementations§
impl RefUnwindSafe for Blake2sVarCore
impl Send for Blake2sVarCore
impl Sync for Blake2sVarCore
impl Unpin for Blake2sVarCore
impl UnwindSafe for Blake2sVarCore
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