Hall XI · Modern Cryptography Foundational · 1883

Kerckhoffs's Principle

The most important rule in cryptography: assume your adversary knows everything about your system except the key.

Principle (not a cipher)

AuthorAuguste Kerckhoffs van Nieuwenhof (1835–1903)
PublishedLa Cryptographie Militaire, 1883
PrincipleSystem security must depend only on key secrecy, not system secrecy
Shannon equivalentShannon's maxim: "the enemy knows the system"
Violated bySystems whose security depends on the algorithm remaining unknown
Modern LessonOpen design enables scrutiny; it does not guarantee freedom from flaws

🔓 Interactive Explorer

The Caesar-shift widget is a toy illustration. Knowing its algorithm makes its small keyspace easy to search; it is not a secure implementation of this principle.

Why This Matters

In La Cryptographie Militaire (1883), Auguste Kerckhoffs argued that a military cryptosystem should not require its design to remain secret. This separates a replaceable secret key from the mechanism. Published designs such as AES can receive independent scrutiny, but publication and key secrecy alone do not guarantee security.

The Six Requirements

Kerckhoffs stated six design criteria for military ciphers: (1) the system must be practically, if not mathematically, indecipherable; (2) the system must not require secrecy and can be stolen by the enemy without causing trouble; (3) the key must be easy to communicate and remember without written notes, and changeable at will; (4) the cipher must be applicable to telegraph correspondence; (5) the apparatus must be portable and operable by a single person; (6) the system must be easy to use. Criterion 2 is what posterity calls "Kerckhoffs's Principle."

Why Secrecy Through Obscurity Fails

Concealing a design can be an additional obstacle, but a robust cryptosystem should not depend on keeping that design secret. Keys can then be replaced without redesigning the whole system. This principle does not require a separate key for every message, and key secrecy alone does not guarantee a flawed algorithm is secure.

Enigma and Knowledge of the Mechanism

Enigma’s design and wiring were important to its analysis, but learning the machine did not automatically reveal every daily key. Captured key material, operator practices, cribs and structural weaknesses all mattered. The lesson is to evaluate security with the design known, rather than equating machine capture with instant decryption.

The Modern Implication

NIST began the AES development process in 1997, selected Rijndael in October 2000 and published FIPS 197 in November 2001. The public competition invited analysis of candidate algorithms. AES illustrates evaluation with the algorithm known, alongside the continuing need for appropriate modes, key management and sound implementations.

Quick Facts
AuthorAuguste Kerckhoffs van Nieuwenhof (1835–1903)
PublishedLa Cryptographie Militaire, 1883
PrincipleSystem security must depend only on key secrecy, not system secrecy
Shannon equivalentShannon's maxim: "the enemy knows the system"
Violated bySystems whose security depends on the algorithm remaining unknown
Modern LessonOpen design enables scrutiny; it does not guarantee freedom from flaws

Sources and Reading

Auguste Kerckhoffs, La Cryptographie Militaire (1883), particularly the six design requirements; David Kahn, The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet, revised edition (1996), Chapter 8. NIST’s AES development history distinguishes selection in 2000 from standardisation in 2001.

← Previous Cabinet Noir — Black Chambers of Europe