PallasPoint class

Inheritance

Constructors

PallasPoint({required PallasFp x, required PallasFp y, required PallasFp z})
PallasPoint.fromAffine(PallasAffinePoint point)
factory
PallasPoint.fromBytes(List<int> bytes)
factory
PallasPoint.generator()
factory
PallasPoint.hashToCurve({required String domainPrefix, required List<int> message})
factory
PallasPoint.identity()
factory
PallasPoint.random()
factory

Properties

curveParams PastaCurveParams<PallasFp>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x PallasFp
finalinherited
y PallasFp
finalinherited
z PallasFp
finalinherited

Methods

cast<T extends ECPoint<SCALAR, POINT>>() → T
inherited
clearCofactor() PallasPoint
override
double() PallasPoint
inherited
endo() PallasPoint
override
from({required PallasFp x, required PallasFp y, required PallasFp z}) PallasPoint
override
generator() PallasPoint
override
identity() PallasPoint
override
isIdentity() bool
inherited
isOnCurve() bool
inherited
isSmallOrder() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recommendedWnafForNumScalars(int numScalars) int
inherited
toAffine() PallasAffinePoint
override
toBytes() List<int>
inherited
toHex() String
inherited
toString() String
A string representation of this object.
inherited

Operators

operator *(VestaFq other) PallasPoint
inherited
operator +(BasePastaPoint<VestaFq, PallasFp> other) PallasPoint
inherited
operator -(BasePastaPoint<VestaFq, PallasFp> other) PallasPoint
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() PallasPoint
inherited