Cryptography is the practice and study of techniques for secure communication in the presence of third parties. It involves creating written or generated codes that allow information to be kept secret.
Cryptography converts data into a format that is unreadable for an unauthorized user, allowing it to be transmitted without unauthorized entities deciphering it back into a readable format, thus ensuring the data’s confidentiality and integrity.