Trait lhash::Digest [−][src]
Hashing algorithm interface
Associated Types
type OutputType: AsRef<[u8]> + AsMut<[u8]> + Copy
[src]
Output type
type BlockType: AsRef<[u8]> + AsMut<[u8]> + Copy
[src]
Block type
Required methods
fn new() -> Self
[src]
Creates new instance.
fn reset(&mut self)
[src]
Resets algorithm’s state.
fn update(&mut self, input: &[u8])
[src]
Hashes input
fn result(&mut self) -> Self::OutputType
[src]
Finalizes algorithm and returns output.