PublicKey class
PublicKey represents a public key which is a point on a 2d Curve, taking BigInt X, Y as the coordinates on axis
- Inheritance
-
- Object
- AffinePoint
- PublicKey
Constructors
- PublicKey(Curve curve, BigInt X, BigInt Y)
- PublicKey.fromHex(Curve curve, String hex)
- fromHex will auto detect the hex type, which means hex can be compressed or not
- PublicKey.fromPoint(Curve curve, AffinePoint p)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCompressedHex(
) → String - toCompressedHex generate a compressed hex string from a public key
-
toHex(
) → String - toHex generate a compressed hex string from a public key
-
toString(
) → String -
toString equals to toHex
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override