2 unstable releases

0.3.0 Jun 6, 2021
0.2.0 Mar 24, 2021

#13 in #pairing

Download history 2054/week @ 2021-10-07 1089/week @ 2021-10-14 1281/week @ 2021-10-21 2349/week @ 2021-10-28 3309/week @ 2021-11-04 3530/week @ 2021-11-11 4139/week @ 2021-11-18 4403/week @ 2021-11-25 3832/week @ 2021-12-02 4407/week @ 2021-12-09 3521/week @ 2021-12-16 2769/week @ 2021-12-23 2695/week @ 2021-12-30 4692/week @ 2022-01-06 3676/week @ 2022-01-13 3348/week @ 2022-01-20

14,946 downloads per month
Used in less than 40 crates

MIT/Apache

380KB
9K SLoC

ark-ec

This crate defines Elliptic Curve traits, curve models that follow these traits, and multi-scalar multiplications. Implementations of particular curves using these curve models can be found in arkworks-rs/curves.

The available elliptic curve traits are:

  • AffineCurve - Interface for elliptic curve points in the 'canonical form' for serialization.
  • ProjectiveCurve - Interface for elliptic curve points in a representation that is more efficient for most computation.
  • PairingEngine - Pairing friendly elliptic curves (Contains the pairing function, and acts as a wrapper type on G1, G2, GT, and the relevant fields).
  • CurveCycle - Trait representing a cycle of elliptic curves.
  • PairingFriendlyCycle - Trait representing a cycle of pairing friendly elliptic curves.

The elliptic curve models implemented are:

Dependencies

~1.4–2.3MB
~51K SLoC