Cryptography began with the ancient Caesar cipher and has become the core discipline of modern computer security. "Crypto" comes from the Greek word for "hidden," and "graphein" means "to write." Modern cryptography goes beyond simple character substitution and is based on complex mathematical problems (integer factorization, discrete logarithms, elliptic curves). The four core goals of cryptography are Confidentiality, Integrity, Authentication, and Non-repudiation.
Symmetric Encryption uses the same key for encryption and decryption. AES (Advanced Encryption Standard) is the representative example and supports 128/192/256-bit keys. Symmetric keys are fast and efficient, but they have a key exchange problem. Asymmetric Encryption solves this problem by using a pair of a public key and a private key. RSA and ECC (Elliptic Curve Cryptography) are representative examples; RSA is based on the difficulty of integer factorization, and ECC is based on the elliptic curve discrete logarithm problem.
In practice, hybrid encryption is used. In the TLS handshake, the session key is securely exchanged using ECDHE (asymmetric key), and subsequent communication is encrypted with AES-GCM (symmetric key). This approach takes advantage of both the secure key exchange of asymmetric keys and the performance of symmetric keys. Digital signatures (RSA-PSS, ECDSA) use asymmetric keys to verify the origin and integrity of a message.
The advancement of quantum computers is putting RSA and ECC at risk. A quantum computer using Shor's algorithm can break a 2048-bit RSA key within a few hours. In 2024, NIST published post-quantum cryptography (PQC) standards. ML-KEM (key encapsulation) and ML-DSA (digital signatures) are the new standards and use lattice-based cryptography. Symmetric ciphers such as AES-256 remain secure against Grover's algorithm if the key size is doubled. As of 2025, organizations are preparing for PQC migration with a "hybrid approach."