PointWrapper class

Constructors

PointWrapper({BigInt? x, BigInt? y})
PointWrapper.fromECPoint(ECPoint? point)
factory
PointWrapper.fromX({required bool isOdd, BigInt? x})
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isCompressed bool
no setter
isInfinity bool
no setter
point ↔ ECPoint?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(PointWrapper other) PointWrapper
copyFrom(PointWrapper? other) PointWrapper
fromJSON(Map<String, String> json) PointWrapper
fromX({required bool isOdd, BigInt? x}) PointWrapper
getX() BigIntX
getY() BigIntX
mul(BigIntX other) PointWrapper
mulAdd(BigIntX b1, PointWrapper p, BigIntX b2) PointWrapper
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, String>
toString() String
A string representation of this object.
override
validate() PointWrapper

Operators

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

Static Methods

checkIfOnCurve(ECPoint point) bool
compressPoint(ECPoint point) String
getG() PointWrapper
getN() BigIntX