Homework on Public and Private Keys - Questions
- Describe the concept of public and private key with your own words.
A private Key is generated by our computer in order to make it possible for you to encrypt a message of to sign a transaction or message.
This private key generates a public key, everything that gets passed the public key is viewable by everybody (for example a transaction from your bitcoin wallet to someone else’s bitcoin wallet)
You can share your public key to get a message or a bitcoin payment for example.
Your private key is is there to sign a message with your own digital signature, or to be able to view a message that is only designated to be viewed by the owner of the private key.
Better never share your bitcoin private key with anyone, because it will give access to all your bitcoins. Always keep your Private keys safe!
2. What 2 use-cases can public key cryptography be used for?
-
Encrypt a message:
Public key can be shared with other, so that they can send you a message that only you can decrypt with your private key.
-
Digital Signature:
When you send bitcoin to someone, you sign it with your digital signature (your private key), but to ensure that no-one will have access to your personal wallet, the private key, generates a public key, that you can share with anyone, so they can see that you are the person who send the funds and not someone else.
the system is secure and nobody can voluntarily guess your private key, as it is a very long sequence of numbers, lettres (capital or not).