uplinks:: EC Key Pair
tags:: #lang/en

Compressed EC Public Key

  • Due to the nature of an Elliptic Curve, an EC public key, which is an EC point, can be represented with the xx-coordinate and one extra bit for yy or y-y
  • Compresed public keys in Bitcoin are 33 bytes, consisting of a prefix either 0x02\text{0x02} or 0x03\text{0x03}, followed by a 32-byte xx-coordinate integer
    • 0x02\text{0x02} if yy is even
    • 0x03\text{0x03} if yy is odd

See Also

  1. Uncompressed EC Public Key