Go to file
str4d df67e299e6
Merge pull request #80 from zcash/rfc-process
Point to the RFC process
2023-12-20 16:30:51 +00:00
.github Bump actions/checkout from 2 to 3 2023-03-02 16:19:33 +00:00
src Fix an overflow bug in the square root implementation on 32-bit platforms. 2023-03-02 16:20:45 +00:00
CHANGELOG.md Bump MSRV to 1.60.0 2023-03-02 17:09:58 +00:00
Cargo.toml `criterion 0.4` 2023-03-02 17:23:42 +00:00
README.md Point to the RFC process 2023-12-19 15:36:50 +00:00
rust-toolchain.toml Bump MSRV to 1.60.0 2023-03-02 17:09:58 +00:00



This crate provides an implementation of the Pasta elliptic curve constructions, Pallas and Vesta. More details about the Pasta curves can be found in this blog post.

RFC process

This crate follows the zkcrypto RFC process. If you want to propose "substantial" changes to this crate, please create an RFC for wider discussion.


Minimum Supported Rust Version

Requires Rust 1.60 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

Curve Descriptions

  • Pallas: y2 = x3 + 5 over GF(0x40000000000000000000000000000000224698fc094cf91b992d30ed00000001).

  • Vesta: y2 = x3 + 5 over GF(0x40000000000000000000000000000000224698fc0994a8dd8c46eb2100000001).

The Pasta curves form a cycle with one another: the order of each curve is exactly the base field of the other. This property is critical to the efficiency of recursive proof systems. They are designed to be highly 2-adic, meaning that a large power-of-two multiplicative subgroup exists in each field. This is important for the performance of polynomial arithmetic over their scalar fields and is essential for protocols similar to PLONK.

These curves can be reproducibly obtained using a curve search utility weve published.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.