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.
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;
Clone the repository into local
cd repo
Run test
cargo test
Run benchmark
cargo bench
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].
Kudos to Monero team - C code from https://github.com/monero-project/monero