- Describe the concept of public and private key with your own words.
The private key is a code consisting of a long chain of numbers randomly generated for the person in question and it’s their secret code, hence the name ‘private’.
The public key is a code, also consisting of a long chain of numbers, generated based on the private key. The private key is required to generate a public key, but the private key cannot be decoded based on the public key (it’s a one-way encryption). The public key can be therefore safely shared with other people and even in public places like social media, in order to send messages or money from one person to another in a safe way.
- What 2 use-cases can public key cryptography be used for?
Encryption (to preserve secrecy of the information/message)
Digital signature (for identification to ensure the message delivered was from the right person)