Cryptography is the process of securing communication and information. It involves encrypting plaintext into ciphertext using algorithms and decrypting the ciphertext back to plaintext. The main goals of cryptography are confidentiality, integrity, non-repudiation, authentication, access control, and availability. There are three main types of cryptographic algorithms - secret key cryptography which uses the same key for encryption and decryption, public key cryptography which uses different keys for encryption and decryption, and hash functions which are one-way functions to encrypt information irreversibly. Common cryptographic hash functions include MD5 and SHA-1 which are used to verify integrity of files and messages.