ProjectiveGroupElement class

Group elements are members of the elliptic curve -x^2 + y^2 = 1 + d * x^2 * y^2 where d = -121665/121666.

Several representations are used: ProjectiveGroupElement: (X:Y:Z) satisfying x=X/Z, y=Y/Z ExtendedGroupElement: (X:Y:Z:T) satisfying x=X/Z, y=Y/Z, XY=ZT CompletedGroupElement: ((X:Z),(Y:T)) satisfying x=X/Z, y=Y/T PreComputedGroupElement: (y+x,y-x,2dxy)

Constructors

ProjectiveGroupElement({FieldElement? X, FieldElement? Y, FieldElement? Z})
ProjectiveGroupElement.fromBytes(Uint8List s)
factory

Properties

asBytes Uint8List
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toAffine → Point25519
no setter
toExtended ExtendedGroupElement
no setter
toProjective ProjectiveGroupElement
no setter
twice CompletedGroupElement
no setter
X ↔ FieldElement
getter/setter pair
Y ↔ FieldElement
getter/setter pair
Z ↔ FieldElement
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(ProjectiveGroupElement other) → void
toString() String
A string representation of this object.
inherited
zero() → void

Operators

operator ==(Object other) bool
The equality operator.
inherited