What is the foundational difference between Symmetric and Asymmetric (Public-Key) Cryptography?
Symmetric cryptography uses the exact same secret key for both encryption and decryption (e.g. AES). In an open network with N participants, pairwise communication requires sharing and storing N(N-1)/2 keys, creating a massive key distribution bottleneck. Asymmetric cryptography (Diffie-Hellman, RSA) uses a mathematically linked key pair: a public key (openly distributed) for encryption and a private key (kept secret) for decryption. Anyone can encrypt a message using the recipient's public key, but only the recipient holding the corresponding private key can decrypt it, solving the key distribution problem completely.