[−]Trait ipld_block_builder::multihash::Multihasher
The Multihasher trait specifies an interface common for all multihash functions
that does not require allocating a Box<dyn MultihashDigest<T>>.
Associated Constants
const CODE: T
The multihash code.
Required methods
fn digest(data: &[u8]) -> MultihashGeneric<T>
Hash some input and return the digest.