|0.5.2||Jan 18, 2023|
|0.5.1||Nov 17, 2022|
|0.5.0||Nov 17, 2022|
|0.3.1||Mar 29, 2022|
#596 in Encoding
2,114 downloads per month
Used in 4 crates
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.
Minimum Supported Rust Version
Requires Rust 1.56 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
Pallas: y2 = x3 + 5 over
Vesta: y2 = x3 + 5 over
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 we’ve published.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.