pub struct Blake2s { /* private fields */ }
Expand description
BLAKE2s state
Implementations§
Trait Implementations§
Source§impl HashFunction for Blake2s
impl HashFunction for Blake2s
Source§type Algorithm = Blake2sAlgorithm
type Algorithm = Blake2sAlgorithm
The algorithm type that defines constants and properties
Source§fn update(&mut self, input: &[u8]) -> Result<&mut Self>
fn update(&mut self, input: &[u8]) -> Result<&mut Self>
Updates the hash state with
data
, returning self for chaining.Source§fn output_size() -> usize
fn output_size() -> usize
The output size in bytes.
Source§fn block_size() -> usize
fn block_size() -> usize
The internal block size in bytes.
Source§fn finalize_reset(&mut self) -> Result<Self::Output>
fn finalize_reset(&mut self) -> Result<Self::Output>
Finalizes, returns the digest, and resets state.
Source§impl SecureZeroingType for Blake2s
impl SecureZeroingType for Blake2s
Auto Trait Implementations§
impl Freeze for Blake2s
impl RefUnwindSafe for Blake2s
impl Send for Blake2s
impl Sync for Blake2s
impl Unpin for Blake2s
impl UnwindSafe for Blake2s
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