Public and Private keys – Lesson 9 – Homework
Homework on Public and Private Keys – Questions
- Describe the concept of public and private keys with your
own words.
Public and private keys are used to encrypt and decrypt data communications sent over unsecured open networks.
A private key is a randomly computer generated number which in turn is hashed to produce a linear unidirectional public key. You can then give your public key to anyone who wants to send you an encrypted message. For encryption they just use your public key. With your private key you can then decrypt that message.
You can also sign a document with your private key which the recipient can then verify using your public key = digital signature.
In Bitcoin transactions bitcoin addresses are generated by creating a private key first which is then hashed to create a public key which in turn is hashed to create a bitcoin address. You can then use this last hashed number as your Bitcoin address. You can also use your private key to sign off on any Bitcoin transactions = digital signature.
- What 2 use-cases can public key cryptography be used for?
- Encryption
- Digital signatures