ECDSAUtils class
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
Static Methods
-
jacobi(BigInt a, BigInt n)
→ BigInt
-
Calculates the Jacobi symbol (a/n) for given integers 'a' and 'n'.
-
modularSquareRootPrime(BigInt a, BigInt p)
→ BigInt
-
-
polynomialExponentiationMod(List<BigInt> base, BigInt exponent, List<BigInt> polymod, BigInt p)
→ List<BigInt>
-
Computes the modular exponentiation of a polynomial represented by
base
to the power of exponent
, using the specified polymod
and modulus p
.
-
polynomialMultiplyMod(List<BigInt> m1, List<BigInt> m2, List<BigInt> polymod, BigInt p)
→ List<BigInt>
-
Multiply two polynomials represented by lists 'm1' and 'm2', reducing modulo 'polymod' and prime 'p'.
-
polynomialReduceMod(List<BigInt> poly, List<BigInt> polymod, BigInt p)
→ List<BigInt>
-
Reduce a polynomial 'poly' modulo 'polymod' using prime 'p'.