[−][src]Trait indy_utils::hash::TreeHash
A trait for producing hashes of merkle tree leaves and nodes
Required methods
fn hash_leaf<T>(leaf: &T) -> Result<Vec<u8>, ValidationError> where
T: Hashable,
T: Hashable,
fn hash_nodes<T>(left: &T, right: &T) -> Result<Vec<u8>, ValidationError> where
T: Hashable,
T: Hashable,