JubJubAffinePoint class
- Inheritance
-
- Object
- ECPoint<
JubJubFr, BaseRedJubJubPoint< JubJubFr> > - BaseRedJubJubPoint<
JubJubFr> - BaseJubJubAffinePoint<
JubJubFr> - JubJubAffinePoint
- Mixed-in types
Constructors
- JubJubAffinePoint({required JubJubFq u, required JubJubFq v})
- JubJubAffinePoint.conditionalSelect(JubJubAffinePoint a, JubJubAffinePoint b, bool choice)
-
factory
-
JubJubAffinePoint.fromBytes(List<
int> bytes, {bool zip216Enabled = false}) -
factory
- JubJubAffinePoint.fromExtendedPoint(JubJubPoint point)
-
factory
- JubJubAffinePoint.generator()
-
factory
- JubJubAffinePoint.identity()
-
factory
Properties
Methods
-
cast<
T extends ECPoint< (SCALAR, POINT> >) → T -
inherited
-
isIdentity(
) → bool -
isOnCurve(
) → bool -
isSmallOrder(
) → bool -
mulByCofactor(
) → JubJubPoint -
multiply(
List< int> by) → JubJubPoint -
Scalar multiplication from raw bytes.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → List< int> -
override
-
toExtended(
) → JubJubPoint -
toHex(
) → String -
inherited
-
toNiels(
) → JubJubAffineNielsPoint -
Converts this point to its Niels representation for faster arithmetic.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator *(
JubJubFr rhs) → JubJubPoint -
Scalar multiplication of this point.
override
-
operator +(
BaseRedJubJubPoint< JubJubScalar> rhs) → JubJubAffinePoint -
override
-
operator -(
BaseRedJubJubPoint< JubJubScalar> rhs) → JubJubAffinePoint -
Affine point subtraction.
override
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator unary-(
) → JubJubAffinePoint -
Affine point subtraction.
override