https://github.com/helium/erlang-multihash
Erlang implementation of multihash
https://github.com/helium/erlang-multihash
erlang multiformats multihash
Last synced: about 2 months ago
JSON representation
Erlang implementation of multihash
- Host: GitHub
- URL: https://github.com/helium/erlang-multihash
- Owner: helium
- License: apache-2.0
- Created: 2018-01-12T19:26:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-14T21:10:13.000Z (over 3 years ago)
- Last Synced: 2025-03-28T18:54:23.025Z (2 months ago)
- Topics: erlang, multiformats, multihash
- Language: Erlang
- Homepage:
- Size: 2.07 MB
- Stars: 14
- Watchers: 27
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://codecov.io/gh/helium/erlang-multihash)# erlang-multihash
An Erlang wrapper for [rust_multihash](https://github.com/multiformats/rust-multihash).
## Usage
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).
```