Unit 1 – Introduction to Blockchain · 09
Public Key Cryptosystems
Public-key cryptography uses a mathematically related key pair: a private key kept secret and a public key that can be shared. Blockchains primarily use these systems for signatures and addresses; some cryptosystems also support encryption, which is a distinct operation.
Animated diagram
A public key is like a mailbox slot anyone can use to address you; the private key is the key only you should control
The idea in one line
Make the invisible feel visible.
Public-key cryptography uses a mathematically related key pair: a private key kept secret and a public key that can be shared. Blockchains primarily use these systems for signatures and addresses; some cryptosystems also support encryption, which is a distinct operation.
Real-life lens
Think of it like this
A public key is like a mailbox slot anyone can use to address you; the private key is the key only you should control. In blockchain, it mainly proves authorization.
Under the hood
How it works, step by step
Start with the idea
Public-key cryptography uses a mathematically related key pair: a private key kept secret and a public key that can be shared. Blockchains primarily use these systems for signatures and addresses; some cryptosystems also support encryption, which is a distinct operation.
Follow the example
A wallet derives a public key from its private key and uses the public information to create an address others can pay.
Notice the benefit
Participants can receive payments and verify signatures without first sharing a secret with every other user.
Check the limitation
Losing the private key can mean losing control of assets; public keys also do not automatically hide transaction details.
Make it concrete
Public Key Cryptosystems in practice
Public Key Cryptosystems in practice
A wallet derives a public key from its private key and uses the public information to create an address others can pay.
Key point: Losing the private key can mean losing control of assets; public keys also do not automatically hide transaction details.
Balanced view
Advantages & disadvantages
Advantages
- Participants can receive payments and verify signatures without first sharing a secret with every other user.
Disadvantages
- Losing the private key can mean losing control of assets; public keys also do not automatically hide transaction details.
Keep these close
Takeaways & common traps
What to remember
- Public-key cryptography uses a mathematically related key pair: a private key kept secret and a public key that can be shared. Blockchains primarily use these systems for signatures and addresses; some cryptosystems also support encryption, which is a distinct operation.
- Participants can receive payments and verify signatures without first sharing a secret with every other user.
- Losing the private key can mean losing control of assets; public keys also do not automatically hide transaction details.
Watch out for
- Do not assume public key cryptosystems guarantees more than its design can prove.
- Do not ignore the trade-off: Losing the private key can mean losing control of assets; public keys also do not automatically hide transaction details.
Quick check
Questions people ask
Why is public key cryptosystems useful?
Participants can receive payments and verify signatures without first sharing a secret with every other user.
What is an important limitation?
Losing the private key can mean losing control of assets; public keys also do not automatically hide transaction details.