Secp256k1AffinePoint class

Constructors

Secp256k1AffinePoint({required Secp256k1Fp x, required Secp256k1Fp y})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEven → bool
no setter
isOdd → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → Secp256k1Fp
final
y → Secp256k1Fp
final

Methods

isIdentity() → bool
isOnCurve() → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCompressed() → BuBytes
toCurve() → Secp256k1Point
toString() → String
A string representation of this object.
inherited
toUncompressed() → BuBytes
SEC1 0x04 || BE(x) || BE(y). Infinity encodes as 65 zero bytes, matching ProjectiveECCPoint.
toXOnly() → BuBytes
BIP340-style x-only encoding (32-byte big-endian x). Infinity encodes as 32 zero bytes, matching ProjectiveECCPoint.toXonly.

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromCompressed(List<int> b) → Secp256k1AffinePoint
fromUncompressed(List<int> b) → Secp256k1AffinePoint
identity() → Secp256k1AffinePoint
liftX(List<int> x) → Secp256k1AffinePoint
BIP340-style x-only lift: the point with even y for 32-byte big-endian x. Throws if x is out of range or has no square root (not on curve).