VestaNativeFq class

Inheritance
Mixed-in types

Properties

hashCode int
The hash code for this object.
no setterinherited
p BigInt
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
v BigInt
final
variables List
no setteroverride

Methods

compareTo(VestaNativeFq other) int
Lexicographic comparison of field elements.
inherited
conditionalSelect(VestaNativeFq a, VestaNativeFq b, bool choice) VestaNativeFq
Conditional selection: returns b if choice is true, a otherwise.
override
double() VestaNativeFq
Doubles the element.
override
getLower32() int
Returns the lowest 32 bits of the field element.
override
identity() VestaNativeFq
override
invert() VestaNativeFq?
Computes the multiplicative inverse.
override
isOdd() bool
Returns true if the element is odd (least significant bit = 1)
inherited
isZero() bool
Returns true if the element is zero.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(BigInt r) VestaNativeFq
powByTMinus1Over2() VestaNativeFq
Computes (self)^((t - 1)/2), used in curve-specific operations.
override
sqrt() FieldSqrtResult<VestaNativeFq>
Computes the square root of the element.
override
square() VestaNativeFq
Squares the element.
override
sRatio(VestaNativeFq a, VestaNativeFq b) FieldSqrtResult<VestaNativeFq>
override
toBits() List<bool>
Returns the field element as a list of bits (little-endian per limb).
inherited
toBytes() List<int>
Serializes the field element to bytes.
override
toString() String
A string representation of this object.
inherited

Operators

operator *(VestaNativeFq other) VestaNativeFq
override
operator +(VestaNativeFq other) VestaNativeFq
override
operator -(VestaNativeFq other) VestaNativeFq
override
operator /(VestaNativeFq o) VestaNativeFq
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() VestaNativeFq
override