Cryptography is defined as:

the practice of securing communication from adversaries by converting it into a code that is difficult to decipher without the appropriate key or algorithm. It involves various techniques such as encryption, decryption, and hashing to ensure the confidentiality, integrity, and authenticity of data. Cryptography plays a vital role in protecting sensitive information, maintaining privacy, and enabling secure electronic transactions and communications.