ECPoint class

Elliptic curve points over Fp

Inheritance

Constructors

ECPoint(ECCurve curve, ECFieldElement? x, ECFieldElement? y, [bool withCompression = false])
Create a point that encodes with or without point compression.

Properties

curve → ECCurveBase
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isCompressed → bool
finalinherited
isInfinity → bool
no setterinherited
preCompInfo ← PreCompInfo
no getterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → ECFieldElementBase?
finalinherited
y → ECFieldElementBase?
finalinherited

Methods

getEncoded([bool compressed = true]) → Uint8List
return the field element encoded with point compression. (S 4.3.6)
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
twice() → ECPoint?
override

Operators

operator *(BigInt? k) → ECPointBase?
Multiplies this ECPoint by the given number. @param k The multiplicator. @return k * this.
inherited
operator +(covariant ECPoint? b) → ECPoint?
override
operator -(covariant ECPoint b) → ECPoint?
override
operator ==(Object other) → bool
The equality operator.
inherited
operator unary-() → ECPoint
override