#elliptic-curve #pairing #extension

no-std ark-bls12-381-ext

Extensions for the BLS12-381 pairing-friendly elliptic curve

1 unstable release

0.4.1 Oct 27, 2023

#976 in Cryptography

Download history 35360/week @ 2024-11-17 36890/week @ 2024-11-24 29043/week @ 2024-12-01 39785/week @ 2024-12-08 28707/week @ 2024-12-15 9532/week @ 2024-12-22 15513/week @ 2024-12-29 28997/week @ 2025-01-05 43930/week @ 2025-01-12 40285/week @ 2025-01-19 34226/week @ 2025-01-26 38208/week @ 2025-02-02 41069/week @ 2025-02-09 41117/week @ 2025-02-16 36236/week @ 2025-02-23 38499/week @ 2025-03-02

158,706 downloads per month
Used in 22 crates (4 directly)

MIT/Apache

465KB
1K SLoC

This library implements the BLS12_381 curve generated by Sean Bowe. The name denotes that it is a Barreto--Lynn--Scott curve of embedding degree 12, defined over a 381-bit (prime) field. This curve was intended to replace the BN254 curve to provide a higher security level without incurring a large performance overhead.

Curve information:

  • Base field: q = 4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787
  • Scalar field: r = 52435875175126190479447740508185965837690552500527637822603658699938581184513
  • valuation(q - 1, 2) = 1
  • valuation(r - 1, 2) = 32
  • G1 curve equation: y^2 = x^3 + 4
  • G2 curve equation: y^2 = x^3 + Fq2(4, 4)

Dependencies

~7MB
~130K SLoC