JubJubNielsPoint class

Inheritance
Mixed-in types

Constructors

JubJubNielsPoint({required JubJubFq vPlusU, required JubJubFq z, required JubJubFq vMinusU, required JubJubFq t2d})
JubJubNielsPoint.conditionalSelect(JubJubNielsPoint a, JubJubNielsPoint b, bool choice)
factory
JubJubNielsPoint.identity()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
t2d JubJubFq
final
variables List
no setteroverride
vMinusU JubJubFq
final
vPlusU JubJubFq
final
z JubJubFq
final

Methods

cast<T extends ECPoint<SCALAR, POINT>>() → T
inherited
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
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) JubJubNielsPoint
override
operator -(BaseRedJubJubPoint<JubJubScalar> rhs) JubJubNielsPoint
Subtracts another point from this Niels point.
override
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() JubJubNielsPoint
Subtracts another point from this Niels point.
override