| Crates.io | nazgul |
| lib.rs | nazgul |
| version | 2.1.0 |
| created_at | 2020-05-25 12:29:51.062485+00 |
| updated_at | 2025-02-22 02:41:04.496161+00 |
| description | A library that implements various ring signature schemes |
| homepage | |
| repository | https://github.com/edwinhere/nazgul |
| max_upload_size | |
| id | 245550 |
| size | 73,173 |
A library that implements Ring Signatures. The following schemes have been implemented based on Chapter 3 of Zero to Monero 2.0 (Z2M2):
The following scheme has also been implemented from outside Z2M2:
Note: The MDLSAG (Multilayer Dual Linkable Spontaneous Anonymous Group) and DLSAG signature scheme was removed as its implementation did not correctly match the specifications in the cited paper.
All blockquotes (except this one) in this documentation are from Z2M2
This library is designed to work with any 512-bit (64 byte output) hashing function. It uses the Ristretto elliptic curve for ease of use and better security.
This library is #![no_std] by default so it is possible to compile this library for embedded devices and WebAssembly but we haven't tried.
The library includes comprehensive test suites for all features:
cargo testcargo test --no-default-features --features no_stdcargo test --features serde-deriveAll tests are run automatically on pull requests and commits via GitHub Actions. The pre-commit hook also ensures all test suites pass before allowing commits.
It is here