ECCurve class

Elliptic curve over Fp

Inheritance

Constructors

ECCurve(BigInt? q, BigInt? a, BigInt? b)

Properties

a → ECFieldElementBase?
no setterinherited
b → ECFieldElementBase?
no setterinherited
fieldSize → int
no setteroverride
hashCode → int
The hash code for this object.
no setteroverride
infinity → ECPoint?
no setteroverride
q → BigInt?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createPoint(BigInt x, BigInt y, [bool withCompression = false]) → ECPoint
Create an ECPoint on its curve from its coordinates
override
decodePoint(List<int> encoded) → ECPointBase?
Decode a point on this curve from its ASN.1 encoding. The different encodings are taken account of, including point compression for Fp (X9.62 s 4.2.1 pg 17). @return The decoded point.
inherited
decompressPoint(int yTilde, BigInt x1) → ECPoint
override
fromBigInteger(BigInt? x) → ECFieldElement
Create an ECFieldElement on this curve from its big integer value.
override
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.
override