Trait ipld_hamt::HashAlgorithm[][src]

pub trait HashAlgorithm {
    fn hash<X: ?Sized>(key: &X) -> [u8; 32]
    where
        X: Hash
; }

Algorithm used as the hasher for the Hamt.

Required methods

fn hash<X: ?Sized>(key: &X) -> [u8; 32] where
    X: Hash
[src]

Loading content...

Implementors

impl HashAlgorithm for Sha256[src]

Loading content...