Struct sha3::Keccak256Core
source · pub struct Keccak256Core { /* private fields */ }
Expand description
Core Keccak-256 hasher state.
Trait Implementations§
source§impl AlgorithmName for Keccak256Core
impl AlgorithmName for Keccak256Core
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 Keccak256Core
impl BlockSizeUser for Keccak256Core
source§impl BufferKindUser for Keccak256Core
impl BufferKindUser for Keccak256Core
§type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
source§impl Clone for Keccak256Core
impl Clone for Keccak256Core
source§fn clone(&self) -> Keccak256Core
fn clone(&self) -> Keccak256Core
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 Keccak256Core
impl Debug for Keccak256Core
source§impl Default for Keccak256Core
impl Default for Keccak256Core
source§impl FixedOutputCore for Keccak256Core
impl FixedOutputCore for Keccak256Core
source§fn finalize_fixed_core(
&mut self,
buffer: &mut Buffer<Self>,
out: &mut Output<Self>,
)
fn finalize_fixed_core( &mut self, buffer: &mut Buffer<Self>, out: &mut Output<Self>, )
Finalize state using remaining data stored in the provided block buffer,
write result into provided array and leave
self
in a dirty state.source§impl OutputSizeUser for Keccak256Core
impl OutputSizeUser for Keccak256Core
source§impl UpdateCore for Keccak256Core
impl UpdateCore for Keccak256Core
source§fn update_blocks(&mut self, blocks: &[Block<Self>])
fn update_blocks(&mut self, blocks: &[Block<Self>])
Update state using the provided data blocks.
impl HashMarker for Keccak256Core
Auto Trait Implementations§
impl Freeze for Keccak256Core
impl RefUnwindSafe for Keccak256Core
impl Send for Keccak256Core
impl Sync for Keccak256Core
impl Unpin for Keccak256Core
impl UnwindSafe for Keccak256Core
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)