Kerckhoffs's principle

The design rule that a cryptosystem's security must depend only on the secrecy of its key, and must survive an adversary learning everything else about how it works.

Kerckhoffs’s principle takes its name from Auguste Kerckhoffs, whose 1883 articles La cryptographie militaire set out requirements for military ciphers. The one that survives is that a system must not rely on its design being secret: it should be able to fall into an adversary’s hands without harm. The practical consequence is that the key is the element that has to stay confidential, and so it is the asset the rest of the design protects.

AES was selected through a public NIST competition, and algorithms earn trust by surviving years of published cryptanalysis, not by hiding how they work. The principle is the opposite of security through obscurity: a secret proprietary algorithm gives little assurance, and once it is reverse engineered or leaked it is far harder to replace than a key. It also explains the weight given to key management: if the design is public, a weak, exposed or reused key is where the system fails.

Exam relevance: a scenario is likely to describe a vendor claiming strength because its algorithm is secret, or to ask what must stay confidential in a well-designed cryptosystem. Candidates are expected to answer that the key is what needs to be secret, and to treat reliance on a hidden algorithm as a weakness rather than a control.