ECDSAUtils class

Constructors

ECDSAUtils()

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

computeNAF(BigInt mult) → List<BigInt>
Compute the Non-Adjacent Form (NAF) of a given integer.
jacobi(BigInt a, BigInt n) → int
Calculates the Jacobi symbol (a/n) for given integers 'a' and 'n'.
modularSquareRootPrime(BigInt a, BigInt p) → BigInt
Calculate the modular square root of 'a' modulo prime 'p' using algorithms from the Handbook of Applied Cryptography (3.34 to 3.39).
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'.