[](https://travis-ci.org/helium/erlang-multihash)
[](https://coveralls.io/github/helium/erlang-multihash?branch=master)
# erlang-multihash
An Erlang implementation for [nultihash](https://github.com/multiformats/multihash).
## Usage
An example using the blake2b hash:
```
Hash = multihash:hash(<<"hello world">>, {blake2b, 64}).
```
Decoding a multihash get the digest and hash used:
```
{ok, Digest, {blake2b, 64}, _} = multihash:decode(Hash).
```