Crate ark_curve25519

Source
Expand description

This library implements the curve25519 Montgomery curve.

Curve information:

  • Base field: q = 57896044618658097711785492504343953926634992332820282019728792003956564819949
  • Scalar field: r = 7237005577332262213973186563042994240857116359379907606001950938285454250989
  • Curve equation: B * y^2 = x^3 + A * x^2 + x, where
    • A = 486662
    • B = 1

Structs§

Curve25519Config
FqConfig
FrConfig

Constants§

GENERATOR_X
GENERATOR_X = 19682211724289367445990778417013818358151178695569199618971391691394964886553
GENERATOR_Y
GENERATOR_Y = (4/5) 46316835694926478169428394003475163141307993866256225615783033603165251855960

Type Aliases§

EdwardsAffine
EdwardsProjective
Fq
Fr
NonZeroMontgomeryAffine