Skip to main content

ark_pallas_ext/
lib.rs

1//! This library implements the prime-order curve Pallas, generated by
2//! [Daira Hopwood](https://github.com/zcash/pasta). The main feature of this
3//! curve is that it forms a cycle with Vesta, i.e. its scalar field and base
4//! field respectively are the base field and scalar field of Vesta.
5//!
6//!
7//! Curve information:
8//! * Base field: q =
9//!   28948022309329048855892746252171976963363056481941560715954676764349967630337
10//! * Scalar field: r =
11//!   28948022309329048855892746252171976963363056481941647379679742748393362948097
12//! * Curve equation: y^2 = x^3 + 5
13//! * Valuation(q - 1, 2) = 32
14//! * Valuation(r - 1, 2) = 32
15
16#![cfg_attr(not(feature = "std"), no_std)]
17
18pub mod curves;
19
20pub use ark_pallas::{fq, fq::*, fr, fr::*};
21pub use curves::*;