Skip to content

Latest commit

 

History

History
73 lines (47 loc) · 2.5 KB

README.md

File metadata and controls

73 lines (47 loc) · 2.5 KB

rust-multihash

Build Status Coverage Status crates.io

multihash implementation in Rust.

Table of Contents

Install

TODO

Usage

First add this to your Cargo.toml

[dependencies]
multihash = "*"
crate extern multihash

use multihash::{encode, decode, HashType};

let hash = encode(HashTpype:SHA2256, "my hash").unwrap();
let multi = decode(&hash).unwrap();

Supported Hash Types

  • SHA2 256
  • SHA2 512

Dependencies

This uses libsodium and sodiumoxide for the hashing so it depends on libsodium being installed.

Maintainers

Captain: @dignifiedquire.

Contribute

Contributions welcome. Please check out the issues.

Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT