pub type Hasher = Blake2b256;Expand description
Central alias for content-addressing and the few places that deliberately need fixed-width derived keys.
TODO(hash-unify): this is Blake2b-256, but the SSZ merkle digest used by
crate::cap::Cap::cap_hash (ssz::hash_tree_root, the ssz sha2
feature) is Sha256. The two hashes should eventually be unified —
probably switch everything to Sha256. Centralised here so the swap is a
one-line change.
Aliased Type§
pub struct Hasher;