pub struct Context384(/* private fields */);Expand description
Keccak384 Context
Implementations§
Source§impl Context384
impl Context384
Sourcepub fn update_mut(&mut self, data: &[u8])
pub fn update_mut(&mut self, data: &[u8])
Update in-place the hashing state by adding the input bytes slice into the state
For the immutable version see [update]
Sourcepub fn update(self, data: &[u8]) -> Self
pub fn update(self, data: &[u8]) -> Self
Update the hashing state by adding the input bytes slice into the state
Sourcepub fn finalize_reset(&mut self) -> [u8; 48]
pub fn finalize_reset(&mut self) -> [u8; 48]
Same as finalize but do not consume the context, but instead
reset it in a ready to use state.
Trait Implementations§
Source§impl Clone for Context384
impl Clone for Context384
Source§fn clone(&self) -> Context384
fn clone(&self) -> Context384
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Context384
impl RefUnwindSafe for Context384
impl Send for Context384
impl Sync for Context384
impl Unpin for Context384
impl UnsafeUnpin for Context384
impl UnwindSafe for Context384
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