Ed25519Fp class

Inheritance
Mixed-in types

Constructors

Ed25519Fp(List<Uint64> limbs)
Ed25519Fp.conditionalSelect(Ed25519Fp a, Ed25519Fp b, bool c)
factory
Ed25519Fp.conditionalSelectMask(Ed25519Fp a, Ed25519Fp 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
Ed25519Fp.from(Uint64 v)
factory
Ed25519Fp.fromBytes(List<int> b, {Endian endian = Endian.little})
factory
Ed25519Fp.fromBytes64(List<int> b)
factory
Ed25519Fp.fromBytesUnchecked(List<int> b, {Endian endian = Endian.little})
factory
Ed25519Fp.fromRaw(List<Uint64> v)
factory
Ed25519Fp.montgomeryReduce(Uint64 r0, Uint64 r1, Uint64 r2, Uint64 r3, Uint64 r4, Uint64 r5, Uint64 r6, Uint64 r7)
factory
Ed25519Fp.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(Ed25519Fp rhs) → Ed25519Fp
double() → Ed25519Fp
override
invert() → Ed25519Fp?
override
isZero() → bool
override
mul(Ed25519Fp rhs) → Ed25519Fp
neg() → Ed25519Fp
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(List<Uint64> by) → Ed25519Fp
powVartime(List<Uint64> by) → Ed25519Fp
sqrt() → FieldSqrtResult<Ed25519Fp>
override
square() → Ed25519Fp
override
sub(Ed25519Fp rhs) → Ed25519Fp
subMod() → Ed25519Fp
toBytes({Endian endian = Endian.little}) → BuBytes
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

one → const Ed25519Fp
r → const Ed25519Fp
r2 → const Ed25519Fp
r3 → const Ed25519Fp
zero → const Ed25519Fp