(i) Symmetric Key encryption:
Symmetric encryption is a technique to use the same key for both encryption and decryption.
(ii) Public key encryption:
Public key encryption is also called Asymmetric function. It uses the concept of a key value pair, a different key is used for the encryption and decryption process.