OptionalminDigestLength: numberOptionalmaxDigestLength: numberReadonlycodeCode of the multihash
ReadonlyencodeReturns the raw digest representation of the binary input (e.g. without hashing codec)
Optional ReadonlymaxReadonlyminReadonlynameName of the multihash
Takes binary input and returns it (multi) hash digest. Return value is
either promise of a digest or a digest. This way general use can await
while performance critical code may asses return value to decide whether
await is needed.
Optionaloptions: DigestOptions
Hasher represents a hashing algorithm implementation that produces as
MultihashDigest.