BaseJubJubPoint<SCALAR extends JubJubScalar<SCALAR>, P extends BaseJubJubPoint<SCALAR, P>> class abstract

Base abstract class for JubJub points with full group and cofactor operations.

Inheritance
Implemented types
Implementers

Constructors

BaseJubJubPoint()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cast<T extends ECPoint<SCALAR, POINT>>() → T
inherited
clearCofactor() → P
Clears the cofactor (alias for mulByCofactor).
override
double() → P
Point doubling.
override
identity() → P
inherited
isIdentity() bool
Checks whether the point is the identity.
isSmallOrder() bool
Checks whether the point has small order.
override
mulByCofactor() → P
Multiplies the point by the group cofactor.
multiply(List<int> by) BaseRedJubJubPoint<SCALAR>
Scalar multiplication from raw bytes.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recommendedWnafForNumScalars(int total) int
inherited
toBytes() List<int>
inherited
toHex() String
inherited
toNiels() BaseJubJubNielsPoint<SCALAR>
Converts this point to its Niels representation for faster arithmetic.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator *(SCALAR other) → P
inherited
operator +(BaseRedJubJubPoint<SCALAR> rhs) → P
Point addition with another JubJub point.
override
operator -(P other) → P
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() BaseRedJubJubPoint<SCALAR>
inherited