BaseRedJubJubPoint<SCALAR extends JubJubScalar<SCALAR>> class abstract


Native vs Non-Native representations

  • Both native and non-native field implementations are backed by BigInt.

  • Non-native types (e.g. JubJubFq, JubJubPoint) represent field elements as multiple fixed-size limbs (typically 4 BigInts) and use algorithms written in a constant-time style. However, because they rely on BigInt, these implementations are not guaranteed to be constant-time at the machine level and should not be considered fully side-channel resistant. They are, however, safer than native representations.

  • Native types (e.g. JubJubNativeFq, JubJubNativePoint) represent each field element as a single BigInt and use variable-time algorithms. These are not constant-time and are not intended to be safe against side-channel attacks.

Both representations share identical curve and algebraic semantics; the differences lie in representation, performance, and side-channel behavior.

Base abstract class for JubJub points in extended/projective coordinates.

Inheritance
Implementers

Constructors

BaseRedJubJubPoint()

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
multiply(List<int> by) BaseRedJubJubPoint<SCALAR>
Scalar multiplication from raw bytes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() List<int>
inherited
toHex() String
inherited
toNiels() BaseJubJubNielsPoint<SCALAR>
Converts this point to its Niels representation for faster arithmetic.
toString() String
A string representation of this object.
inherited

Operators

operator *(SCALAR rhs) BaseRedJubJubPoint<SCALAR>
Scalar multiplication of this point.
override
operator +(BaseRedJubJubPoint<SCALAR> rhs) BaseRedJubJubPoint<SCALAR>
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() BaseRedJubJubPoint<SCALAR>
inherited