Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helium/erlang-multihash
Erlang implementation of multihash
https://github.com/helium/erlang-multihash
erlang multiformats multihash
Last synced: 3 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-14T21:10:13.000Z (over 3 years ago)
- Last Synced: 2024-10-03T06:37:57.550Z (4 months ago)
- Topics: erlang, multiformats, multihash
- Language: Erlang
- Homepage:
- Size: 2.07 MB
- Stars: 13
- Watchers: 29
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![build](https://github.com/helium/erlang-multihash/workflows/Continuous%20Integration/badge.svg)
[![codecov](https://codecov.io/gh/helium/erlang-multihash/branch/master/graph/badge.svg)](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).
```