Module constants

Source
Expand description

Various constants, such as the Ristretto and Ed25519 basepoints.

Constants§

BASEPOINT_ORDERDeprecated
BASEPOINT_ORDER is the order of the Ristretto group and of the Ed25519 basepoint, i.e., $$ \ell = 2^{252} + 27742317777372353535851937790883648493. $$
ED25519_BASEPOINT_COMPRESSED
The Ed25519 basepoint, in CompressedEdwardsY format.
ED25519_BASEPOINT_POINTcurve25519_dalek_bits="64"
The Ed25519 basepoint, as an EdwardsPoint.
EIGHT_TORSIONcurve25519_dalek_bits="64"
The 8-torsion subgroup \(\mathcal E [8]\).
RISTRETTO_BASEPOINT_COMPRESSED
The Ristretto basepoint, in CompressedRistretto format.
RISTRETTO_BASEPOINT_POINT
The Ristretto basepoint, as a RistrettoPoint.
X25519_BASEPOINT
The X25519 basepoint, in MontgomeryPoint format.

Statics§

ED25519_BASEPOINT_TABLEcurve25519_dalek_bits="64" and precomputed-tables
Table containing precomputed multiples of the Ed25519 basepoint \(B = (x, 4/5)\).
RISTRETTO_BASEPOINT_TABLEprecomputed-tables
The Ristretto basepoint, as a RistrettoBasepointTable for scalar multiplication.