Trait fvm_ipld_hamt::HashAlgorithm
source · pub trait HashAlgorithm {
// Required method
fn hash<X>(key: &X) -> [u8; 32]
where X: Hash + ?Sized;
}Expand description
Algorithm used as the hasher for the Hamt.
pub trait HashAlgorithm {
// Required method
fn hash<X>(key: &X) -> [u8; 32]
where X: Hash + ?Sized;
}Algorithm used as the hasher for the Hamt.