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

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)[src]

fn finish(self) -> H256[src]

Loading content...

Implementors

impl Hasher for Blake2bHasher[src]

Loading content...