Public Key Formats
Public key is a point (x, y)
on a elliptic curve.
Compressed public keys have a prefix of 04
.
Uncompressed public keys have a prefix of 02
or 03
.
Type | Prefix | Format |
---|---|---|
Uncompressed | 04 | 04xy |
Compressed and y is even | 02 | 02x |
Compressed and y is odd | 03 | 03x |