Ed25519Fr class

Inheritance
Mixed-in types

Constructors

Ed25519Fr(List<Uint64> limbs)
Ed25519Fr.conditionalSelect(Ed25519Fr a, Ed25519Fr b, bool c)
factory
Ed25519Fr.conditionalSelectMask(Ed25519Fr a, Ed25519Fr b, Uint64 bit)
Mask form of conditionalSelect: bit is a 0/1 Uint64 (never a bool), so the whole select is straight-line limb arithmetic.
factory
Ed25519Fr.from(Uint64 v)
factory
Ed25519Fr.fromBytes(List<int> b, {Endian endian = Endian.little})
factory
Ed25519Fr.fromBytes64(List<int> b)
factory
Ed25519Fr.fromBytesUnchecked(List<int> b, {Endian endian = Endian.little})
factory
Ed25519Fr.fromRaw(List<Uint64> v)
factory
Ed25519Fr.montgomeryReduce(Uint64 r0, Uint64 r1, Uint64 r2, Uint64 r3, Uint64 r4, Uint64 r5, Uint64 r6, Uint64 r7)
factory
Ed25519Fr.unsafe(List<Uint64> limbs)
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
limbs → List<Uint64>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
variables → List
no setteroverride

Methods

add(Ed25519Fr rhs) → Ed25519Fr
double() → Ed25519Fr
override
invert() → Ed25519Fr?
override
isZero() → bool
override
mul(Ed25519Fr rhs) → Ed25519Fr
neg() → Ed25519Fr
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(List<Uint64> by) → Ed25519Fr
powVartime(List<Uint64> by) → Ed25519Fr
sqrt() → FieldSqrtResult<Ed25519Fr>
override
square() → Ed25519Fr
override
sub(Ed25519Fr rhs) → Ed25519Fr
subMod() → Ed25519Fr
toBytes({Endian endian = Endian.little}) → BuBytes
override
toString() → String
A string representation of this object.
inherited

Operators

operator *(Ed25519Fr o) → Ed25519Fr
override
operator +(Ed25519Fr o) → Ed25519Fr
override
operator -(Ed25519Fr o) → Ed25519Fr
override
operator ==(Object other) → bool
The equality operator.
override
operator unary-() → Ed25519Fr
override

Constants

one → const Ed25519Fr
r → const Ed25519Fr
r2 → const Ed25519Fr
r3 → const Ed25519Fr
zero → const Ed25519Fr