Expand description
Convenience module to import all the pasta traits. You still have to import the curves.
Traits§
- Curve
- Efficient representation of an elliptic curve point guaranteed.
- Curve
Affine - This trait is the affine counterpart to
Curve
and is used for serialization, storage in memory, and inspection of $x$ and $y$ coordinates. - Curve
Ext - This trait is a common interface for dealing with elements of an elliptic curve group in a “projective” form, where that arithmetic is usually more efficient.
- Field
- This trait represents an element of a field.
- From
Uniform Bytes - Trait for constructing a
PrimeField
element from a fixed-length uniform byte array. - Group
- This trait represents an element of a cryptographic group.
- Prime
Curve Affine - Affine representation of an elliptic curve point guaranteed to be in the correct prime order subgroup.
- Prime
Field - This represents an element of a non-binary prime field.