ProjectivAffinePoint class

Represents a point in affine coordinates on an elliptic curve.

Inheritance

Constructors

ProjectivAffinePoint(CurveFp curve, BigInt x, BigInt y, {BigInt? order})
ProjectivAffinePoint.zero(CurveFp curve)
factory

Properties

curve → CurveFp
Represents the elliptic curve to which this point belongs.
final
hashCode → int
The hash code for this object.
no setteroverride
order → BigInt?
Represents the order of this point, which is the number of times this point can be added to itself before reaching the infinity point.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → BigInt
Represents the x-coordinate of this point in affine coordinates.
final
y → BigInt
Represents the y-coordinate of this point in affine coordinates.
final

Methods

cast<T extends ECPoint<SCALAR, POINT>>() → T
inherited
double() → ProjectivAffinePoint
Doubles the ProjectivAffinePoint by performing point doubling operation.
isZero() → bool
Checks if this ProjectivAffinePoint represents the point at infinity (O)
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes([EncodeType encodeType = EncodeType.comprossed]) → List<int>
inherited
toHex() → String
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator *(BigInt other) → ProjectivAffinePoint
Overrides the multiplication operator (*) to perform point scalar multiplication.
override
operator +(BaseProjectivePointNative other) → BaseProjectivePointNative
Overrides the addition operator (+) to perform point addition between this ProjectivAffinePoint and another AbstractPoint.
override
operator ==(Object other) → bool
The equality operator.
override
operator unary-() → ProjectivAffinePoint
Negates this point and returns the result.
operator unary-() → BaseProjectivePointNative
inherited