- Describe the concept of public and private key with your own words.
Public key is public and you can share it. Private key is hidden due to its features and tasks.
You generate a PRIVAT KEY which is a random number. U use a formula to derive a PUBLIC KEY from that PRIVAT KEY. You send a message to ALICE and you sign it with your PRIVATE KEY. The receiver (ALICE) can check if this is your message by checking if the PUBLIC KEY and the signature are matching the PRIVATE KEY because when you send a Bitcoin transaction, your PRIVATE KEY signs that trx, so everyone can se that you spent that Bitcoin
There is no way to derive a PRIVAT KEY out of a PUBLIC KEY. Due to this, it is a one-way function
- What 2 use-cases can public key cryptography be used for?
Encryption and digital signatures