Cryptography is a method of protecting information and communications through the use of codes. It involves techniques such as encrypting plaintext into ciphertext using a key, and back again through decryption. Modern cryptography aims for confidentiality, integrity, non-repudiation and authentication of digital information. It uses cryptosystems, keys and algorithms to encrypt and decrypt data between senders and receivers over secure channels.