PastaUtils class

Constructors

PastaUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

hashToFiled({required String curveId, required String domainPrefix, required List<int> message}) → (List<int>, List<int>)
isoMap<F extends PastaFieldElement<F>>({required (F, F, F) p, required List<F> iso}) → (F, F, F)
mapToCurveSimpleSwu<F extends PastaFieldElement<F>>({required F u, required F theta, required F z, required F r, required PastaCurveParams<F> isogenyParams}) → (F, F, F)
sqrtRatioGeneric<F extends CryptoField<F>>({required F num, required F div, required F zero, required F rootOfUnity}) FieldSqrtResult<F>
sqrtTonelliShanks<F extends CryptoField<F>>({required F f, required F fPowTm1d2, required F rootOfUnity, required F one, required F conditionalSelect(F a, F b, bool choice), int s = 32}) FieldSqrtResult<F>