TeachMeBitcoin

Uncompressed Public Keys (The Legacy)

From TeachMeBitcoin, the free encyclopedia Reading time: 2 min

Uncompressed Public Keys (The Legacy)

In the earliest versions of Bitcoin, public keys were stored in their full, "Uncompressed" form. While simple to understand, this format is highly inefficient and is rarely used in modern Bitcoin transactions.

1. The 65-Byte Structure

An uncompressed public key consists of three parts joined together:

  1. Prefix (1 byte): Always 0x04. This signals "Uncompressed."

  2. X-Coordinate (32 bytes): The horizontal position.

  3. Y-Coordinate (32 bytes): The vertical position.

Total Size: 65 Bytes.

2. Why was it used?

When Satoshi Nakamoto first released Bitcoin, he used the OpenSSL library, which defaulted to uncompressed keys. At the time, the blockchain was small, and saving 32 bytes per transaction wasn't a major priority.

3. The "Double Address" Problem

One of the strangest quirks of legacy Bitcoin is that the same private key can generate two different addresses:

4. Why we moved away

In a blockchain, Space is Money.

Format Prefix Size Status
Uncompressed 04 65 Bytes Legacy / Deprecated

In the next section, we will explore the Compressed format that saved the network Gigabytes of data.

☕ Help support TeachMeBitcoin

TeachMeBitcoin is an ad-free, open-source educational repository curated by a passionate team of Bitcoin researchers and educators for public benefit. If you found our articles helpful, please consider supporting our hosting and ongoing content updates with a clean donation:

Ethereum: 0x578417C51783663D8A6A811B3544E1f779D39A85
Bitcoin: bc1q77k9e95rn669kpzyjr8ke9w95zhk7pa5s63qzz
Solana: 4ycT2ayqeMucixj3wS8Ay8Tq9NRDYRPKYbj3UGESyQ4J
Address copied to clipboard!