Skip to content

QuiltOS/rust-multihash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%