Struct blake2::Blake2bVarCore
source · [−]pub struct Blake2bVarCore { /* private fields */ }
Expand description
Blake2b instance with a variable output.
Implementations
sourceimpl Blake2bVarCore
impl Blake2bVarCore
Trait Implementations
sourceimpl AlgorithmName for Blake2bVarCore
impl AlgorithmName for Blake2bVarCore
sourcefn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into f
.
sourceimpl BlockSizeUser for Blake2bVarCore
impl BlockSizeUser for Blake2bVarCore
sourcefn block_size() -> usize
fn block_size() -> usize
Return block size in bytes.
sourceimpl BufferKindUser for Blake2bVarCore
impl BufferKindUser for Blake2bVarCore
type BufferKind = Lazy
type BufferKind = Lazy
Block buffer kind over which type operates.
sourceimpl Clone for Blake2bVarCore
impl Clone for Blake2bVarCore
sourcefn clone(&self) -> Blake2bVarCore
fn clone(&self) -> Blake2bVarCore
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Blake2bVarCore
impl Debug for Blake2bVarCore
sourceimpl OutputSizeUser for Blake2bVarCore
impl OutputSizeUser for Blake2bVarCore
type OutputSize = U64
type OutputSize = U64
Size of the output in bytes.
sourcefn output_size() -> usize
fn output_size() -> usize
Return output size in bytes.
sourceimpl UpdateCore for Blake2bVarCore
impl UpdateCore for Blake2bVarCore
sourcefn update_blocks(&mut self, blocks: &[Block<Self>])
fn update_blocks(&mut self, blocks: &[Block<Self>])
Update state using the provided data blocks.
sourceimpl VariableOutputCore for Blake2bVarCore
impl VariableOutputCore for Blake2bVarCore
sourceconst TRUNC_SIDE: TruncSide
const TRUNC_SIDE: TruncSide
Side which should be used in a truncated result.
sourcefn new(output_size: usize) -> Result<Self, InvalidOutputSize>
fn new(output_size: usize) -> Result<Self, InvalidOutputSize>
Initialize hasher state for given output size. Read more
sourcefn 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 more
impl HashMarker for Blake2bVarCore
Auto Trait Implementations
impl RefUnwindSafe for Blake2bVarCore
impl Send for Blake2bVarCore
impl Sync for Blake2bVarCore
impl Unpin for Blake2bVarCore
impl UnwindSafe for Blake2bVarCore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more