Nowaday’s every lock has its key. The locks may be physical or digital. And when it comes to digital locks then we talk about the security of online content. That is why Cryptography came into existence. In historic times, a scribe used unexpected hieroglyphic characters instead of the usual ones. And this leads to safe & secure communication between people. Now there are two terms we can come across. The first is cryptography & the second is encryption.
What is Cryptography?
Cryptography, as the name suggests, is generally the study of methods like encryption. Its main objective is to provide methods simply to secure and protect information and communications using encryption and related techniques. The benefit of cryptography is that it simply allows one to store sensitive information. In addition, it transmits the Information across insecure networks. The functionalities include authentication, nonrepudiation, confidentiality, and integrity.

What is Encryption?
The technique used to conceal messages using algorithms is Encryption. The fundamental application of cryptography encodes a message with an algorithm & generally helps to protect private information, sensitive data, and enhance the security of communication among client apps and servers. The most popular & effective data security techniques include Encryption.

For more information:
https://www.kaspersky.com/resource-center/definitions/what-is-cryptography