Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/team-hycon/cryptonight-rs
Rust wrapper around Cryptonight hash function.
https://github.com/team-hycon/cryptonight-rs
Last synced: about 1 month ago
JSON representation
Rust wrapper around Cryptonight hash function.
- Host: GitHub
- URL: https://github.com/team-hycon/cryptonight-rs
- Owner: Team-Hycon
- License: mit
- Created: 2018-08-27T02:50:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-27T06:32:33.000Z (over 6 years ago)
- Last Synced: 2024-10-31T11:35:48.272Z (about 2 months ago)
- Language: Rust
- Size: 2.12 MB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cryptonight-rs
[![Build Status](https://travis-ci.org/Team-Hycon/cryptonight-rs.svg?branch=master)](https://travis-ci.org/Team-Hycon/cryptonight-rs)
Cryptonight-rs is a Rust wrapper around Cryptonight hash function from [Monero source code](https://github.com/monero-project/monero).
**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:
```toml
[dependencies]
cryptonight-rs = "^0.2"
```and the following to your crate root:
```rust
extern crate cryptonight;
use cryptonight::cryptonight;
```## Test & Benchmark
Clone the repository into local
```rust
cd repo
```
Run test
```rust
cargo test
```Run benchmark
```rust
cargo bench
```## Issues & Pull Requests
If you have an issue, feel free to add it to the [Issues](https://github.com/Team-Hycon/cryptonight-rs/issues) tab.
If you'd like to help us out, the [Pull Request](https://github.com/Team-Hycon/cryptonight-rs/pulls) tab is a great place to start.**If you have found a security bug, please contact us at [[email protected]]([email protected]).**
## Credits
Kudos to [Monero team](https://getmonero.org/community/team/) - C code from https://github.com/monero-project/monero