Topic Terms

What are Private Keys and Public Keys in Crypto

A private key is a secret cryptographic number that proves ownership of cryptocurrency and authorizes transactions, while a public key (wallet address) is derived from it and safely shared so others can send you funds.

Private keys and public keys are the cryptographic foundation of cryptocurrency ownership. Together, they form a public-private key pair — a mathematical relationship that allows you to prove ownership of funds and authorize transactions without revealing sensitive information.

Understanding how these work is essential for anyone holding cryptocurrency, because the keys are the ultimate proof of ownership — not your username, not your email, not your exchange account.

Private Key: Your Crypto Secret

A private key is a randomly generated, 256-bit number — effectively an astronomically large random number (approximately $10^{77}$ possible values — more than atoms in the observable universe). This complete randomness is what makes it practically impossible to guess.

What it does:

  • Proves cryptographic ownership of associated funds
  • Authorizes (signs) outgoing transactions
  • Derives the corresponding public key through one-way mathematics
  • Must be kept completely secret — anyone who knows your private key controls your funds

Example (shortened for illustration):

5KJvsngHeMpm884wtkJNzQGaCErckhHJBGFsvd3VyK5qMZXj3hS

Private keys are typically presented in Wallet Import Format (WIF) or as the 12–24 word seed phrase that generates them.

Public Key and Wallet Address: Safe to Share

A public key is derived from the private key through an elliptic curve multiplication — a one-way mathematical operation that cannot be reversed. You can derive the public key from the private key, but cannot derive the private key from the public key.

Your wallet address (like 0x1A2b3C... on Ethereum or 1BvBMSE... on Bitcoin) is derived from the public key through additional hashing — this is what you share to receive funds, like an account number.

What it does:

  • Serves as your public "account address" — safe and necessary to share
  • Allows others to verify your transaction signatures without knowing the private key
  • Cannot be used to access or spend funds

How a Transaction Is Signed

When you send cryptocurrency, your wallet performs a cryptographic signature:

  1. Your wallet creates a transaction message (recipient, amount, fee)
  2. It signs the message with your private key using an ECDSA (Elliptic Curve Digital Signature Algorithm)
  3. The signature and transaction are broadcast to the blockchain network
  4. Network validators verify the signature using your public key — confirming the transaction was authorized by the key holder — without ever seeing the private key

This is the elegance of public-key cryptography: proof of authorization is mathematically verifiable by anyone, while the private key remains hidden.

Seed Phrases: Human-Readable Private Keys

Modern wallets use a seed phrase (mnemonic, recovery phrase) — typically 12 or 24 common English words — as a human-readable representation of a master private key that can derive multiple wallet addresses.

Example: witch collapse practice feed shame open despair creek road again ice least

This one seed phrase can generate an entire hierarchy of wallets across multiple cryptocurrencies. Writing it down accurately and storing it securely offline (multiple copies, different locations) is essential — it's the ultimate backup of your entire wallet.

Never:

  • Store seed phrases in cloud storage, email, or photos
  • Type your seed phrase into any website or app
  • Share it with anyone, ever, for any stated reason

Key Storage and Security

Storage Method Security Level Notes
Memory only Variable Risky — human memory is fallible
Digital file Low Vulnerable to hacks, malware
Cloud storage Low Accessible to cloud provider, hackers
Paper (offline) Medium Risk of physical loss/damage
Metal backup High Fire/water resistant physical storage
Hardware wallet High Keys never leave secure element

"Not Your Keys, Not Your Coins"

This phrase is fundamental to crypto self-custody. When you hold crypto on an exchange, the exchange holds the private keys — you have an IOU. The exchange can:

  • Be hacked (Mt. Gox lost $460M; FTX held $8+ billion in customer funds)
  • Freeze withdrawals
  • Go bankrupt
  • Be shut down by regulators

Holding crypto in a personal wallet where you control the private key eliminates exchange counterparty risk — but it places the security responsibility entirely on you. There's no password recovery, no support line, no FDIC insurance.

Understanding private and public keys is the foundation of true cryptocurrency ownership.