Secp256k1Fr class
- Inheritance
- Mixed-in types
Constructors
-
Secp256k1Fr(List<
Uint64> limbs) - Secp256k1Fr.conditionalSelect(Secp256k1Fr a, Secp256k1Fr b, bool c)
-
factory
- Secp256k1Fr.conditionalSelectMask(Secp256k1Fr a, Secp256k1Fr b, Uint64 bit)
-
Mask form of conditionalSelect:
bitis a 0/1 Uint64 (never abool), so the whole select is straight-line limb arithmetic.factory - Secp256k1Fr.from(Uint64 v)
-
factory
-
Secp256k1Fr.fromBytes(List<
int> b, {Endian endian = Endian.big}) -
factory
-
Secp256k1Fr.fromBytes64(List<
int> b) -
factory
-
Secp256k1Fr.fromBytesUnchecked(List<
int> b, {Endian endian = Endian.big}) -
factory
-
Secp256k1Fr.fromRaw(List<
Uint64> v) -
factory
- Secp256k1Fr.montgomeryReduce(Uint64 r0, Uint64 r1, Uint64 r2, Uint64 r3, Uint64 r4, Uint64 r5, Uint64 r6, Uint64 r7)
-
factory
-
Secp256k1Fr.unsafe(List<
Uint64> limbs) -
const
Properties
Methods
-
add(
Secp256k1Fr rhs) → Secp256k1Fr -
double(
) → Secp256k1Fr -
override
-
invert(
) → Secp256k1Fr? -
override
-
isZero(
) → bool -
override
-
mul(
Secp256k1Fr rhs) → Secp256k1Fr -
neg(
) → Secp256k1Fr -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pow(
List< Uint64> by) → Secp256k1Fr -
powVartime(
List< Uint64> by) → Secp256k1Fr -
sqrt(
) → FieldSqrtResult< Secp256k1Fr> -
override
-
square(
) → Secp256k1Fr -
override
-
sub(
Secp256k1Fr rhs) → Secp256k1Fr -
subMod(
) → Secp256k1Fr -
toBytes(
{Endian endian = Endian.big}) → BuBytes -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator *(
Secp256k1Fr o) → Secp256k1Fr -
override
-
operator +(
Secp256k1Fr o) → Secp256k1Fr -
override
-
operator -(
Secp256k1Fr o) → Secp256k1Fr -
override
-
operator ==(
Object other) → bool -
The equality operator.
override
-
operator unary-(
) → Secp256k1Fr -
override
Constants
- one → const Secp256k1Fr
- r → const Secp256k1Fr
- r2 → const Secp256k1Fr
- r3 → const Secp256k1Fr
- zero → const Secp256k1Fr