Bitcoin Public Key Formats

b1tma0(25)
Published in
#bitcoin
Words
42
Reading
1 min
Listen
Play
9y

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.

TypePrefixFormat
Uncompressed0404xy
Compressed and y is even0202x
Compressed and y is odd0303x
Bitcoin Public Key Formats | Ecency