Cryptography is the practice of securing communication and data by converting it into a non-readable format using encryption techniques. It ensures confidentiality, integrity, authentication, and non-repudiation of information exchanged between parties.