Trait exclusion_merkle_cbt::Hasher[][src]

pub trait Hasher {
    fn update(&mut self, data: &[u8]);
fn finish(self) -> H256; }
Expand description

Trait for customize hash function

Required methods

Update data into the hasher

Finalize the hasher and return the hash

Implementors