Learn › Cryptography and Digital Cash (High school and up)
Public Keys, Private Keys, and Digital Signatures
11 minute lesson · then a 4-question quiz
Add this lesson to a curriculum for a student, a group or a team.
A pair of keys
In public-key cryptography, you make a pair of mathematically linked keys. The private key is kept secret. The public key can be shared freely. It is easy to compute the public key from the private key, but not the other way around. Bitcoin uses a system based on elliptic curves, an approach developed in the 1980s that gives strong security with short keys.
Signing instead of locking
A digital signature works in reverse from encryption. You use your private key on a message to produce a signature. Anyone with your public key can check that the signature matches that message and could only have been made with your private key. If even one character of the message is changed, the signature will no longer check out.
Unlike a handwritten signature, a digital signature is different for every message, so it cannot be copied from one document to another.
Why it matters for money
In Bitcoin, a coin is controlled by whoever holds the private key that can sign a transaction spending it. There is no account name or password at a company, just proof of control. This means you can send value to anyone with just their public address. It also means a lost private key cannot be reset, and anyone who learns it can spend the funds. That trade-off is why safe key storage is one of the most important skills for anyone who holds Bitcoin directly.
Key ideas
- A key pair has a secret private key and a shareable public key.
- A signature proves a message came from the key holder.
- Changing the message invalidates the signature.
- Whoever controls the private key controls the coins.
Try it with the free tools: The CFO Dad book
Quiz
Get 75% or better to finish this lesson. You can try as many times as you like.
Educational only. Not tax, legal, or investment advice. Numbers and rules change, so check current sources.
