Bitcoin Encryption, explained

The surprising truth: Bitcoin barely encrypts anything.

Last reviewed:

People assume Bitcoin is built on encryption — secret messages, locked data, codes to crack. It isn't, really. Bitcoin's ledger is completely public; there are no encrypted balances to hide. What Bitcoin uses cryptography for is proving ownership and fixing history in place — and those rely on two tools that aren't “encryption” in the everyday sense at all.

Two jobs, two tools

1. Digital signatures — proving you own your coins.
This is where your private key lives. Every Bitcoin address has a matching pair: a public key (which anyone can see, and from which your address is derived) and a private key (which only you have). To spend coins, you sign the transaction with your private key. Anyone on the network can then use your public key to verify the signature is genuine — without ever seeing the private key itself. That one-way relationship is the heart of Bitcoin ownership. Bitcoin uses a scheme called ECDSA, built on elliptic-curve cryptography, for this.

The practical consequence: your private key is your money. Lose it and the coins are unrecoverable. Leak it and anyone can take them. There is no password reset and no support line — a deliberate consequence of having no central authority.

2. Hash functions — locking history in place.
This is where SHA-256 comes in. A hash function takes any input and produces a fixed-length fingerprint, with two crucial properties: the same input always gives the same fingerprint, and you can't work backwards from the fingerprint to the input. Bitcoin hashes each block — including a reference to the previous block's hash — so the blocks form a tamper-evident chain. Change one character in an old block and its fingerprint changes, which breaks the next block's reference, and the next, all the way to the tip. That's what makes the ledger's history practically impossible to rewrite. Hashing is also the raw material of proof of work (its own page).

“Encryption” vs “cryptography”

The precise distinction, because it clears up most confusion:

  • Encryption scrambles data so only someone with a key can read it. Bitcoin doesn't do this to its ledger at all — the whole point is that everyone can read it.
  • Digital signatures prove who authorized something, without hiding it.
  • Hashing creates a fingerprint to detect tampering, and can't be reversed to recover the original.

So when someone says “Bitcoin is encrypted,” what they usually mean is “Bitcoin uses cryptography” — which is true. The specific cryptography is signatures and hashing, not encryption of the ledger.

Is Bitcoin anonymous, then?

No — it's pseudonymous. Every transaction is public and permanent. Your identity isn't attached to your address by the protocol, but addresses can often be linked to real people through exchanges, patterns of use, or on-chain analysis. Treat the Bitcoin ledger as a permanent public record that happens not to have your name printed on it by default.

What about quantum computers?

A common worry. A sufficiently powerful quantum computer could, in theory, threaten the elliptic-curve signatures Bitcoin uses. That machine does not exist today, and if it ever approaches feasibility, Bitcoin can hard-fork to quantum-resistant signature schemes — the research already exists. It's a real long-term topic, not a near-term crisis.

These pages are reference explainers, not financial advice. Bitcoin is volatile; do your own research.