Encryption is a technique that hides the original text in a coded form. To convert it into a readable format, one needs to have the decryption key. This is very helpful in enhancing the security of sensitive data and information. Furthermore, data is everywhere since most data is saved in the cloud and managed online. Thus, to conduct business with any organization, people tend to share their private information, leading to data leakage. Using symmetric and asymmetric encryption, the user’s data is kept secure. Certain data encryption algorithms are also used to ensure that data is always safe.