#cryptography #finite-fields #elliptic-curves

ark-ed-on-bls12-377

A Twisted Edwards curve defined over the scalar field of the BLS12-377 curve

5 unstable releases

0.4.0 Jan 17, 2023
0.4.0-alpha.2 Dec 28, 2022
0.4.0-alpha.1 Nov 29, 2022
0.3.0 Jun 6, 2021
0.2.0 Mar 25, 2021

#1105 in Cryptography

Download history 283/week @ 2022-10-08 413/week @ 2022-10-15 539/week @ 2022-10-22 721/week @ 2022-10-29 469/week @ 2022-11-05 705/week @ 2022-11-12 619/week @ 2022-11-19 555/week @ 2022-11-26 947/week @ 2022-12-03 765/week @ 2022-12-10 598/week @ 2022-12-17 365/week @ 2022-12-24 351/week @ 2022-12-31 625/week @ 2023-01-07 890/week @ 2023-01-14 1051/week @ 2023-01-21

2,944 downloads per month
Used in 5 crates

MIT/Apache

105KB
1.5K SLoC

This library implements a twisted Edwards curve whose base field is the scalar field of the curve BLS12-377. This allows defining cryptographic primitives that use elliptic curves over the scalar field of the latter curve. This curve was generated as part of the paper [BCGMMW20, “Zexe”].

Curve information:

  • Base field: q = 8444461749428370424248824938781546531375899335154063827935233455917409239041
  • Scalar field: r = 2111115437357092606062206234695386632838870926408408195193685246394721360383
  • Valuation(q - 1, 2) = 47
  • Valuation(r - 1, 2) = 1
  • Curve equation: ax^2 + y^2 =1 + dx^2y^2, where
    • a = -1
    • d = 3021

Dependencies

~4MB
~84K SLoC