# Kerckhoffs's Principle

**Kerckhoffs's principle**<span style="color: rgb(0, 0, 0);"> (also called </span>**Kerckhoffs's desideratum**<span style="color: rgb(0, 0, 0);">, </span>**assumption**<span style="color: rgb(0, 0, 0);">, </span>**axiom**<span style="color: rgb(0, 0, 0);">, </span>**doctrine**<span style="color: rgb(0, 0, 0);"> or </span>**law**<span style="color: rgb(0, 0, 0);">) of </span>[<span style="color: rgb(0, 0, 0);">cryptography</span>](https://en.wikipedia.org/wiki/Cryptography "Cryptography")<span style="color: rgb(0, 0, 0);"> was stated by the Dutch cryptographer </span>[<span style="color: rgb(0, 0, 0);">Auguste Kerckhoffs</span>](https://en.wikipedia.org/wiki/Auguste_Kerckhoffs "Auguste Kerckhoffs")<span style="color: rgb(0, 0, 0);"> in the 19th century. The principle holds that a </span>[<span style="color: rgb(0, 0, 0);">cryptosystem</span>](https://en.wikipedia.org/wiki/Cryptosystem "Cryptosystem")<span style="color: rgb(0, 0, 0);"> should be secure, even if everything about the system, except the </span>[<span style="color: rgb(0, 0, 0);">key</span>](https://en.wikipedia.org/wiki/Cryptographic_key "Cryptographic key")<span style="color: rgb(0, 0, 0);">, is public knowledge. This concept is widely embraced by cryptographers, in contrast to </span>[<span style="color: rgb(0, 0, 0);">security through obscurity</span>](https://en.wikipedia.org/wiki/Security_through_obscurity "Security through obscurity")<span style="color: rgb(0, 0, 0);">, which is not.</span>

<span style="color: rgb(0, 0, 0);">Kerckhoffs's principle was phrased by the American mathematician </span>[<span style="color: rgb(0, 0, 0);">Claude Shannon</span>](https://en.wikipedia.org/wiki/Claude_E._Shannon "Claude E. Shannon")<span style="color: rgb(0, 0, 0);"> as "the </span>[<span style="color: rgb(0, 0, 0);">enemy</span>](https://en.wikipedia.org/wiki/Adversary_(cryptography) "Adversary (cryptography)")<span style="color: rgb(0, 0, 0);"> knows the system",\[1\] i.e., "one ought to design systems under the assumption that the enemy will immediately gain full familiarity with them". In that form, it is called </span>**Shannon's maxim**<span style="color: rgb(0, 0, 0);">.</span>

**Security Through Obscurity Considered Dangerous**

<span style="color: rgb(0, 0, 0);">Hiding security vulnerabilities in algorithms, software, and/or hardware decreases the likelihood they will be repaired and increases the likelihood that they can and will be exploited. Discouraging or outlawing discussion of weaknesses and vulnerabilities is extremely dangerous and deleterious to the security of computer systems, the network, and its citizens. \[2\]</span>

**Open Discussion Encourages Better Security**

<span style="color: rgb(0, 0, 0);">The long history of cryptography and cryptoanalysis has shown time and time again that open discussion and analysis of algorithms exposes weaknesses not thought of by the original authors, and thereby leads to better and more secure algorithms. As Kerckhoffs noted about cipher systems in 1883, "Il faut qu'il n'exige pas le secret, et qu'il puisse sans inconvénient tomber entre les mains de l'ennemi." (Roughly, "the system must not require secrecy and must be able to be stolen by the enemy without causing trouble.") \[2\]</span>

\[1\] [https://en.wikipedia.org/wiki/Kerckhoffs%27s\_principle](https://en.wikipedia.org/wiki/Kerckhoffs%27s_principle)

\[2\] [https://www.cs.columbia.edu/~smb/papers/draft-ymbk-obscurity-00.txt](https://www.cs.columbia.edu/~smb/papers/draft-ymbk-obscurity-00.txt)