An Erlang wrapper for rust_multihash.
An example using the blake2b hash:
{ok, Digest} = multihash:digest(<<"hello world">>, blake2b256).
Get the hash used for a given multihash digest:
{ok, blake2b256} = multihash:hash(Digest).
An Erlang wrapper for rust_multihash.
An example using the blake2b hash:
{ok, Digest} = multihash:digest(<<"hello world">>, blake2b256).
Get the hash used for a given multihash digest:
{ok, blake2b256} = multihash:hash(Digest).