{"id":17427267,"url":"https://github.com/bertptrs/cryptonight-hash","last_synced_at":"2025-08-03T14:31:37.518Z","repository":{"id":57613867,"uuid":"215095818","full_name":"bertptrs/cryptonight-hash","owner":"bertptrs","description":"Rust implementation of the Cryptonight hash","archived":false,"fork":false,"pushed_at":"2019-10-26T11:50:25.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-13T11:39:50.344Z","etag":null,"topics":["cryptonight","monero","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bertptrs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-14T16:41:49.000Z","updated_at":"2024-05-31T07:36:04.000Z","dependencies_parsed_at":"2022-09-11T01:00:47.328Z","dependency_job_id":null,"html_url":"https://github.com/bertptrs/cryptonight-hash","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fcryptonight-hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fcryptonight-hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fcryptonight-hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fcryptonight-hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertptrs","download_url":"https://codeload.github.com/bertptrs/cryptonight-hash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228548573,"owners_count":17935222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptonight","monero","rust"],"created_at":"2024-10-17T06:06:11.326Z","updated_at":"2024-12-07T01:41:18.966Z","avatar_url":"https://github.com/bertptrs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cryptonight-hash\n\n[![Build Status](https://travis-ci.org/bertptrs/cryptonight-hash.svg?branch=master)](https://travis-ci.org/bertptrs/cryptonight-hash)\n[![Crates.io](https://img.shields.io/crates/v/cryptonight-hash)](https://crates.io/crates/cryptonight-hash)\n[![Documentation](https://docs.rs/cryptonight-hash/badge.svg)](https://docs.rs/cryptonight-hash/)\n![Crates.io](https://img.shields.io/crates/l/cryptonight-hash)\n\n\nA pure-rust implementation of the CryptoNight digest algorithm. The\nimplementation is based on the specification in\n[CryptoNote standard 8](https://cryptonote.org/cns/cns008.txt).\n\nThe crate is compiled with support for AES CPU extensions if the\nplatform supports it, currently only on x86 and x86_64. It is possible\nto disable this by disabling the default features.\n\n## Features\n\n- [`digest`](https://crates.io/crates/digest)-compatible implementation\n  of the CryptoNight digest.\n- No non-rust dependencies.\n- Support for SSE2 and AES CPU extensions.\n- Full fallback implementation for other platforms.\n- Performance comparable to competing implementations.\n\n## Compared to others\n\nThere are already different crates that also implement this digest\nalgorithm, but there are some differences. In decreasing order of\ndownloads (as of 2019-10-25):\n\n- [cryptonight-rs](https://crates.io/crates/cryptonight-rs) simply\n  wraps the function from the original Monero C code. It also claims\n  to be unstable.\n- [yellowsun](https://crates.io/crates/yellowsun) implements the digest\n  completely in Rust but does so in a way that requires using AES CPU\n  extensions. If your platform doesn't have those, you can't use it.\n- [cryptonight](https://crates.io/crates/cryptonight) requires SSE (but\n  not AES) extensions for the hash. It indirectly depends on some C-code\n  to implement the secondary hashes.\n  \nAside from the differences above, this crate is the only one that can\neasily compute hashes incrementally and that can operate with the\ntraits in the `digest` crate.\n\n## Wish list\n\n- [x] Support CPU extensions for key generation\n- [ ] `nostd` support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertptrs%2Fcryptonight-hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertptrs%2Fcryptonight-hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertptrs%2Fcryptonight-hash/lists"}