Trait flow_sdk::algorithms::FlowHasher [−][src]
pub trait FlowHasher {
type Algorithm: HashAlgorithm;
fn new() -> Self;
fn update<B: AsRef<[u8]> + ?Sized>(&mut self, bytes: &B);
fn finalize(self) -> [u8; 32];
}
Expand description
A hasher.
Associated Types
type Algorithm: HashAlgorithm
type Algorithm: HashAlgorithm
The algorithm of this hasher.