Trait crdts::merkle_reg::Sha3Hash[][src]

pub trait Sha3Hash {
    fn hash(&self, hasher: &mut Sha3);
}

Values in the MerkleReg must be hasheable with tiny_keccak::Sha3.

Required methods

fn hash(&self, hasher: &mut Sha3)[src]

Update the hasher with self’s data

Loading content...

Implementors

impl<T: AsRef<[u8]>> Sha3Hash for T[src]

Loading content...