#elliptic-curve #pairing

no-std ark-bls12-381-ext

Extensions for the BLS12-381 pairing-friendly elliptic curve

1 unstable release

0.4.1 Oct 27, 2023

#759 in Cryptography

Download history 11816/week @ 2024-01-01 17536/week @ 2024-01-08 26501/week @ 2024-01-15 23779/week @ 2024-01-22 22311/week @ 2024-01-29 21999/week @ 2024-02-05 24697/week @ 2024-02-12 32058/week @ 2024-02-19 29672/week @ 2024-02-26 23572/week @ 2024-03-04 26357/week @ 2024-03-11 29633/week @ 2024-03-18 27221/week @ 2024-03-25 42015/week @ 2024-04-01 41545/week @ 2024-04-08 31960/week @ 2024-04-15

144,329 downloads per month
Used in 3 crates

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

~6MB
~114K SLoC