Trait Hasher
Other items inexclusion_merkle_cbt
pub trait Hasher { fn update(&mut self, data: &[u8]); fn finish(self) -> H256; }
Trait for customize hash function
fn update(&mut self, data: &[u8])
Update data into the hasher
fn finish(self) -> H256
Finalize the hasher and return the hash