2.Public key encryption: A third party issues
two keys for a person and then manages
the keys.
1.Private key: is meant to be kept secret and is used by the person to send and receive encrypted messages.
2.Public key: it is made public and can be used by anyone to send an encrypted message to the person with the private key, or to read messages from that person.