Public Key

IntermediateCrypto & Digital Assets2 min read

Quick Definition

A cryptographic code derived from a private key that can be freely shared, used to generate wallet addresses and verify transaction signatures on a blockchain.

What Is Public Key?

A public key is the shareable half of a cryptographic key pair, derived mathematically from its corresponding private key using elliptic curve multiplication. While the private key must remain secret, the public key (or the wallet address derived from it) can be shared openly — it is used to receive funds and to allow the network to verify that transactions were genuinely authorized by the holder of the corresponding private key.

The relationship between public and private keys is based on elliptic curve cryptography (ECC). For Bitcoin and Ethereum, this uses the secp256k1 curve. The key property is asymmetry: multiplying a private key by the generator point on the curve produces the public key, but reversing this operation — finding the private key from the public key — is computationally infeasible with current technology.

In practice, your wallet address is not exactly your public key — it is a hashed and encoded version of it. For example, a Bitcoin address is created by applying SHA-256 and RIPEMD-160 hashing to the public key, then adding a checksum and encoding in Base58. Ethereum uses the last 20 bytes of the Keccak-256 hash of the public key, prefixed with "0x." These address formats are shorter and include error-checking, making them more practical for everyday use.

Public Key Example

  • 1When you share your Bitcoin address (like "bc1q...xyz") to receive payment, you are sharing a hashed version of your public key. The sender broadcasts a transaction to this address, and the network verifies your ownership when you later spend those funds.
  • 2Ethereum addresses like "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD08" are derived from public keys through Keccak-256 hashing. You can freely share this address to receive ETH or tokens — knowing the address gives no information about the private key.