Free 10-unit interactive visual lesson exploring modern cryptography: classical ciphers, modular arithmetic, Diffie-Hellman key exchange, RSA public-key encryption with prime factorization, and cryptographic hash functions.
Symmetric encryption uses one shared secret key, whereas asymmetric encryption (RSA) pairs a public key with a mathematically linked private key.
Multiplying two large primes is fast, while factoring their product back into primes is computationally infeasible for classical computers.