[quote=“ivan, post:1, topic:8431”]
Homework on Public and Private Keys
1. Describe the concept of public and private key with your own words.
Public key is a number generated from the private key. The public key is used by others on the network to encrypt their messages for transmission so that the message can only be read by the holder of the private private key which generated the public key.
The private key cannot be generated from the public key.
Private key is a random number concealed/held by the user. The private key is used to generate a public key and or digitally sign documents to identify the integrity of the user and or message sent.
2. What 2 use-cases can public key cryptography be used for?
The two use cases are encryption and digital signatures.
- Encryption
Encrypting the message via access to a public key which prevents others from reading the message if they do not have access to the private key which generated the original public key.
- Digital signatures
BTC, blockchain, uses public encryption to digitally signature the users blockchain address. This blockchain address is generated from a combination of the users private key & public keys. To send/spend BTC the user digitally signs the transaction with aid of their private key.