JubJubFq class

Inheritance
Mixed-in types

Constructors

JubJubFq(List<BigInt> limbs)
JubJubFq.conditionalSelect(JubJubFq a, JubJubFq b, bool choice)
factory
JubJubFq.edwardsD()
factory
JubJubFq.edwardsD2()
factory
JubJubFq.from(BigInt val)
factory
JubJubFq.fromBytes(List<int> bytes)
factory
JubJubFq.fromBytes64(List<int> bytes)
factory
JubJubFq.fromRaw(List<BigInt> val)
factory
JubJubFq.montgomeryReduce(BigInt r0, BigInt r1, BigInt r2, BigInt r3, BigInt r4, BigInt r5, BigInt r6, BigInt r7)
factory
JubJubFq.one()
factory
JubJubFq.r()
factory
JubJubFq.r2()
factory
JubJubFq.r3()
factory
JubJubFq.rootOfUnity()
factory
JubJubFq.rootOfUnityInv()
factory
JubJubFq.twoInv()
factory
JubJubFq.zero()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
limbs List<BigInt>
final
publicFields List<Object?>
Public, non-secret fields that can be compared normally.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretFields List<List<int>>
Secret fields that MUST be compared in constant time.
no setterinherited

Methods

add(JubJubFq rhs) JubJubFq
charBits() List<bool>
inherited
constantEquality(JubJubFq other) bool
override
double() JubJubFq
override
invert() JubJubFq?
override
isZero() bool
override
mul(JubJubFq rhs) JubJubFq
neg() JubJubFq
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(List<BigInt> by) JubJubFq
powVartime(List<BigInt> by) JubJubFq
sqrt() FieldSqrtResult<JubJubFq>
override
square() JubJubFq
override
sub(JubJubFq rhs) JubJubFq
toBits() List<bool>
inherited
toBytes() List<int>
override
toString() String
A string representation of this object.
inherited

Operators

operator *(JubJubFq rhs) JubJubFq
override
operator +(JubJubFq rhs) JubJubFq
override
operator -(JubJubFq rhs) JubJubFq
override
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() JubJubFq
override