Public Keys, Private Keys and Signatures
Learn how public-key cryptography lets you prove ownership without revealing secrets, how addresses are made, and why a private key is the coin itself.
Welcome back!
Step 1 of 13Learn
You don't own coins, you own a key
Here's the idea that surprises most newcomers: your crypto isn't stored in your wallet. Coins exist only as entries on the blockchain, saying that a certain amount belongs to a certain address. What you actually own is a private key: a secret number that lets you authorize moving the coins at that address.
Whoever has the private key controls the coins. There's no bank to call, no password reset and no customer support for the blockchain itself. Lose the key and the coins are stuck forever. Leak the key and anyone who sees it can take them.
This works through public-key cryptography, also called asymmetric cryptography, which uses a matched pair of keys:
- The private key is a huge random number you keep secret.
- The public key is calculated from the private key using one-way math. Anyone can see it.
- An address, the string you share to receive coins, is usually a shortened, hashed form of the public key, with built-in error checking.
The math is one-way: computing the public key from the private key is easy, but going backward is practically impossible. The number of possible Bitcoin private keys is around 2256, roughly 1077, comparable to the number of atoms in the observable universe. Guessing someone's key by brute force isn't a realistic threat; carelessness is.
Step 2 of 13Practice · Choose one
What does a person actually control when they "own" bitcoin?
Step 3 of 13Learn
Digital signatures
How do you prove you own coins without revealing your private key? With a digital signature.
When you send coins, your wallet creates a transaction message, such as "send 0.1 BTC from my address to this address", and uses your private key to produce a signature that's unique to that exact message. Then it broadcasts the message and signature to the network.
Every node can check the signature using your public key. The check answers two questions:
- Authenticity: was this signed by the private key that matches this address? Only the key holder could have produced it.
- Integrity: has the message been changed since it was signed? Change one digit of the amount and the signature no longer matches.
The private key itself never leaves your wallet and never appears on the blockchain. Anyone can verify; only you can sign.
A helpful analogy is a mailbox with a slot. Your address is like the slot: anyone can drop coins in. The private key opens the box, and only its holder can take anything out.
This is also why crypto transactions are hard to fake but easy to lose. The network checks signatures perfectly, so it will happily accept a validly signed transaction made by a thief who copied your key, or by malware on your computer. Security comes down to keeping the private key private and checking what you sign.
Step 4 of 13Practice · Match the pairs
Match each item to its role.
Tap an answer, then tap the place where it belongs (or drag it there).
- Private key
- Public key
- Address
- Digital signature
Step 5 of 13Practice · Diagram
Signing and checking a transaction
At which step is the secret key actually used?
Tap the shape that answers the question, then press Check.
- Write the message
"Send 0.1 BTC from my address to this address."
- Sign with the private key
Happens inside your wallet. The key never leaves it.
- Broadcast message + signature
- Nodes verify with public key
Anyone can check it. Change one digit of the amount and the signature fails.
Step 6 of 13Learn
Seed phrases: your keys in words
Writing down a 77-digit number is error-prone, so modern wallets use a seed phrase (also called a recovery phrase or mnemonic): usually 12 or 24 ordinary words chosen from a standard list of 2,048 words.
The seed phrase is a human-readable form of a master secret. From it, the wallet can regenerate all of your private keys and addresses, in a fixed order, on any compatible wallet app or device. That's why the phrase is your money: anyone who has those words, in that order, can restore your wallet on their own device and move everything.
Each word carries 11 bits of information (211 = 2,048), so a 12-word phrase holds 132 bits, 128 of them random and 4 used as a checksum to catch typos. That's far beyond what any computer can guess.
Rules that protect a seed phrase:
- Write it down on paper or stamp it in metal. Don't store it in photos, cloud notes, email or a password manager you're not sure about.
- Never type it into a website or share it with anyone. No legitimate wallet, exchange or support agent will ever ask for it.
- Store copies in secure, separate places, protected from fire, water and curious visitors.
- Plan for inheritance. If no one can find or use your seed phrase, your coins die with you. Many families have lost crypto this way.
Some wallets also support an optional extra word or passphrase. It adds security, but if you forget it, the coins are gone.
Step 7 of 13Practice · Work it out
Seed phrase words are chosen from a list of 2,048 words. How many bits of information does each word carry? (Hint: 2,048 = 2 raised to what power?)
Step 8 of 13Practice · Diagram
How many guesses would it take?
Each word carries 11 bits, so the possibilities multiply by 2,048 per word. The danger is never guessing; it's someone seeing your phrase.
Tap the weakest secret on this scale.
Tap the shape that answers the question, then press Check.
- 4-digit PIN
10,000 possibilities. A computer tries them instantly.
- Random 8-character password
Roughly 1014 options: weak against modern cracking rigs.
- 12-word seed phrase
About 2128 possibilities, far beyond any computer that exists.
- 24-word seed phrase
About 2256, roughly the number of atoms in the observable universe.
Step 9 of 13Note
Step 10 of 13Practice · True or false
If someone knows your public address, they can calculate your private key and take your coins.
Step 11 of 13Diagram
A one-way street from key to address
Tap a shape with to see more.
- Private key (secret)
A huge random number. Keep it offline.
- Public key
Calculated from the private key in milliseconds.
- Address (shareable)
A shorter code derived from the public key. Safe to post anywhere.
Step 12 of 13Practice · What would you do?
What would you do?
Nadia's phone with her self-custody wallet app is stolen. She wrote her 12-word seed phrase on paper and kept it in a safe at home. What should she do to protect her coins?
Step 13 of 13Practice · Choose one
Which statement about digital signatures on a blockchain is correct?
Lesson complete!