JubJubPoint class

Inheritance

Constructors

JubJubPoint({required JubJubFq u, required JubJubFq v, required JubJubFq z, required JubJubFq t1, required JubJubFq t2})
JubJubPoint.fromAffinePoint(JubJubAffinePoint point)
factory
JubJubPoint.fromBytes(List<int> bytes, {bool zip216Enabled = true})
factory
JubJubPoint.identity()
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
t1 JubJubFq
final
t2 JubJubFq
final
u JubJubFq
final
v JubJubFq
final
z JubJubFq
final

Methods

cast<T extends ECPoint<SCALAR, POINT>>() → T
inherited
clearCofactor() JubJubPoint
Clears the cofactor (alias for mulByCofactor).
inherited
double() JubJubPoint
Point doubling.
override
identity() JubJubPoint
override
isIdentity() bool
Checks whether the point is the identity.
override
isOnCurve() bool
isSmallOrder() bool
Checks whether the point has small order.
override
isTorsionFree() bool
mulByCofactor() JubJubPoint
Multiplies the point by the group cofactor.
override
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
recommendedWnafForNumScalars(int numScalars) int
override
toAffine() JubJubAffinePoint
toBytes() List<int>
override
toHex() String
inherited
toNiels() JubJubNielsPoint
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) JubJubPoint
Point addition with another JubJub point.
override
operator -(BaseRedJubJubPoint<JubJubScalar> rhs) JubJubPoint
override
operator ==(Object other) bool
The equality operator.
override
operator unary-() JubJubPoint
override