Imagine an enemy learning exactly how two people encrypt their messages. The system can still be secure if the secret key remains unknown. Kerckhoffs' principle says security should depend on the key, not on hiding the algorithm. section 1.3
Apply the principle by separating what may be public from what must remain secret:
- Publish and scrutinize cryptographic algorithms rather than relying on enemies not discovering them. section 1.3
- Protect the secret keys supplied to those algorithms. section 1.3
- Treat AES as an example of a widely studied algorithm used for encryption, including web browsing. section 1.3
Known algorithm, unknown key
Alice and Bob can let their enemies know their encryption algorithm. The messages remain protected because the enemies do not know the secret key. section 1.3
Figure 1.4 The cryptographic algorithms you have learned so far. AES is an instantiation of a symmetric encryption algorithm, which is a cryptographic primitive that is part of the broader class of symmetric cryptographic algorithms.
Use the algorithm map to place AES within symmetric encryption and broader symmetric cryptography. section 1.3
