[][src]Trait sparse_merkle_tree::traits::Hasher

pub trait Hasher {
    fn write_h256(&mut self, h: &H256);
fn finish(self) -> H256; }

Trait for customize hash function

Required methods

fn write_h256(&mut self, h: &H256)

fn finish(self) -> H256

Loading content...

Implementors

impl Hasher for Blake2bHasher[src]

Loading content...