Skip to content

Team-Hycon/cryptonight-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptonight-rs

Build Status

Cryptonight-rs is a Rust wrapper around Cryptonight hash function from Monero source code.

This code is not stable yet. It is not recommended to use it in production.

Usage

To use Cryptonight-rs, add the following to your Cargo.toml:

[dependencies]
cryptonight-rs = "^0.2"

and the following to your crate root:

extern crate cryptonight;
use cryptonight::cryptonight;

Test & Benchmark

Clone the repository into local

cd repo

Run test

cargo test

Run benchmark

cargo bench

Issues & Pull Requests

If you have an issue, feel free to add it to the Issues tab. If you'd like to help us out, the Pull Request tab is a great place to start.

If you have found a security bug, please contact us at [email protected].

Credits

Kudos to Monero team - C code from https://github.com/monero-project/monero