Struct sha3::Keccak512Core
source · [−]pub struct Keccak512Core { /* private fields */ }
Expand description
Core Keccak-512 hasher state.
Trait Implementations
sourceimpl AlgorithmName for Keccak512Core
impl AlgorithmName for Keccak512Core
sourcefn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into f
.
sourceimpl BlockSizeUser for Keccak512Core
impl BlockSizeUser for Keccak512Core
sourcefn block_size() -> usize
fn block_size() -> usize
Return block size in bytes.
sourceimpl BufferKindUser for Keccak512Core
impl BufferKindUser for Keccak512Core
type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
sourceimpl Clone for Keccak512Core
impl Clone for Keccak512Core
sourcefn clone(&self) -> Keccak512Core
fn clone(&self) -> Keccak512Core
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 Keccak512Core
impl Debug for Keccak512Core
sourceimpl Default for Keccak512Core
impl Default for Keccak512Core
sourceimpl FixedOutputCore for Keccak512Core
impl FixedOutputCore for Keccak512Core
sourcefn 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. Read more
sourceimpl OutputSizeUser for Keccak512Core
impl OutputSizeUser for Keccak512Core
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 Reset for Keccak512Core
impl Reset for Keccak512Core
sourceimpl UpdateCore for Keccak512Core
impl UpdateCore for Keccak512Core
sourcefn 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 Keccak512Core
Auto Trait Implementations
impl RefUnwindSafe for Keccak512Core
impl Send for Keccak512Core
impl Sync for Keccak512Core
impl Unpin for Keccak512Core
impl UnwindSafe for Keccak512Core
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