Multiformats.Multihash (multiformats v0.1.0)
Handles encoding and decoding multihash binary data, as specified by multiformats.
Summary
Functions
Decodes multihash binary data into a tuple of the hash type, digest size, and digest binary.
Functions
Decodes multihash binary data into a tuple of the hash type, digest size, and digest binary.
Can pass an option to :base
to encode the digest binary into a different format using multibase. Any base supported by Multibase.encode/2
can be used here, otherwise you will receive an error.