#crypto #ristretto #ristretto255 #monero

no-std nazgul

A library that implements various ring signature schemes

11 releases (1 stable)

1.0.0 Oct 1, 2023
0.1.10 Oct 25, 2020
0.1.7 Sep 24, 2020
0.1.5 May 31, 2020

#1 in #monero

Download history 4/week @ 2023-11-02 1/week @ 2023-11-09 13/week @ 2023-11-16 12/week @ 2023-11-23 50/week @ 2023-11-30 5/week @ 2023-12-07 12/week @ 2023-12-14 25/week @ 2023-12-21 11/week @ 2023-12-28 10/week @ 2024-01-18 13/week @ 2024-01-25 45/week @ 2024-02-01 13/week @ 2024-02-08 110/week @ 2024-02-15

184 downloads per month

MIT license

85KB
2K SLoC

Nazgul

A library that implements Ring Signatures. The following schemes have been implemented based on Chapter 3 of Zero to Monero 2.0 (Z2M2):

  • Spontaneous Anonymous Group (SAG) signatures
  • Back’s Linkable Spontaneous Anonymous Group (bLSAG) signatures
  • Multilayer Linkable Spontaneous Anonymous Group (MLSAG) signatures
  • Concise Linkable Spontaneous Anonymous Group (CLSAG) signatures

The following scheme has also been implemented from outside Z2M2:

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.

Documentation

It is here

Dependencies

~1.5–2.4MB
~52K SLoC