Struct cryptoxide::sha3::Keccak224
source · pub struct Keccak224 { /* private fields */ }
Expand description
The hash algorithm context
Implementations§
Trait Implementations§
source§impl Digest for Keccak224
impl Digest for Keccak224
source§fn reset(&mut self)
fn reset(&mut self)
Reset the digest. This method must be called after result() and before supplying more
data.
source§fn result(&mut self, slice: &mut [u8])
fn result(&mut self, slice: &mut [u8])
Retrieve the digest result. This method may be called multiple times. Read more
source§fn output_bits(&self) -> usize
fn output_bits(&self) -> usize
Get the output size in bits.
source§fn block_size(&self) -> usize
fn block_size(&self) -> usize
Get the block size in bytes.
source§fn output_bytes(&self) -> usize
fn output_bytes(&self) -> usize
Get the output size in bytes.
source§fn input_str(&mut self, input: &str)
fn input_str(&mut self, input: &str)
Convenience function that feeds a string into a digest. Read more
source§fn result_str(&mut self) -> String
fn result_str(&mut self) -> String
Convenience function that retrieves the result of a digest as a
String in hexadecimal format.