Skill 3.6.2

Cryptographic methods (e.g., symmetric, asymmetric, elliptic curves, quantum)

Key Concepts

Symmetric cryptography uses one shared secret key for encryption and decryption. It is fast and suits bulk data; AES with 128, 192 or 256-bit keys is the standard, and ChaCha20 is a common stream cipher. Its challenges are secure key distribution and scale: n users need n(n-1)/2 keys. Block cipher modes matter: ECB leaks patterns, while GCM provides authenticated encryption.

Asymmetric cryptography uses a public and private key pair (RSA, Diffie-Hellman), solving key distribution and enabling digital signatures, but it is slower. Elliptic curve cryptography gives equivalent strength with much smaller keys (a 256-bit ECC key is comparable to a 3072-bit RSA key). Quantum computers running Shor's algorithm would break RSA and ECC, so NIST published post-quantum standards in 2024: ML-KEM (FIPS 203) for key establishment and ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) for signatures. Grover's algorithm only halves symmetric strength, so AES-256 remains strong. Hybrid systems use asymmetric cryptography to exchange a symmetric session key.