Trait filecoin_hashers::Hasher [−][src]
pub trait Hasher: Clone + Debug + Eq + Default + Send + Sync { type Domain: Domain + LightHashable<Self::Function> + AsRef<Self::Domain>; type Function: HashFunction<Self::Domain>; fn name() -> String; }
Associated Types
type Domain: Domain + LightHashable<Self::Function> + AsRef<Self::Domain>
[src]
type Function: HashFunction<Self::Domain>
[src]
Required methods
Implementors
impl Hasher for Blake2sHasher
[src]
impl Hasher for Blake2sHasher
[src]impl Hasher for PoseidonHasher
[src]
impl Hasher for PoseidonHasher
[src]impl Hasher for Sha256Hasher
[src]
impl Hasher for Sha256Hasher
[src]