Cryptography is the practice of hiding information by converting intelligible data into unintelligible ciphertext, and back again. It provides confidentiality, integrity, and authentication. There are three eras of cryptography - manual using pen and paper, mechanical using cipher machines, and modern using computers. Encryption is converting plaintext to ciphertext while decryption is converting ciphertext back to plaintext. Symmetric cryptography uses a single shared key for encryption and decryption, while asymmetric cryptography uses public and private key pairs.