Homework on Public and Private Keys - Questions
- Describe the concept of public and private key with your own words.
A public key is generated from your private key if someone sends you an encrypted message using your public key only you can decrypt it using your private key.
Only a private key can generate a public key, not the other way around.
- What 2 use-cases can public key cryptography be used for?
One use case is if some want to send you an encrypted message they will use your public key so only you can read it using your associated private key.
Another case is you want to verify who send you a message or a transaction it has to be signed by the sender using her or his private key.
Which you can compare using his or her public key and confirm if the sender is associated. by comparing the signature in the transaction with the public key of the sender.