2 releases

0.5.0 Oct 28, 2024
0.5.0-alpha.0 Jun 20, 2024

#2557 in Cryptography

Download history 5/week @ 2024-09-19 4/week @ 2024-09-26 1/week @ 2024-10-03 1/week @ 2024-10-10 120/week @ 2024-10-24 47/week @ 2024-10-31 235/week @ 2024-11-07 289/week @ 2024-11-14 270/week @ 2024-11-21 297/week @ 2024-11-28 1922/week @ 2024-12-05

2,846 downloads per month
Used in 2 crates (via blitzar)

MIT/Apache

630KB
14K SLoC

This library implements the prime-order curve Grumpkin, generated by Zachary J. Williamson from Aztec protocol. The main feature of this curve is that it forms a cycle with bn254, i.e. its scalar field and base field respectively are the base field and scalar field of bn254.

Curve information: Grumpkin:

  • Base field: q = 21888242871839275222246405745257275088548364400416034343698204186575808495617
  • Scalar field: r = 21888242871839275222246405745257275088696311157297823662689037894645226208583
  • Curve equation: y^2 = x^3 - 17
  • Valuation(q - 1, 2) = 28
  • Valuation(r - 1, 2) = 1

Dependencies

~3.5–5MB
~87K SLoC