PublicKey.fromCompressedHex constructor

PublicKey.fromCompressedHex(
  1. String hexString
)

convert a compressed hex string to a public key(List of 2 bigints)

Implementation

PublicKey.fromCompressedHex(String hexString) {
  final point = base.hex2PointFromCompress(hexString);
  X = point[0];
  Y = point[1];
}