Kerckhoffs's principle
Kerckhoffs's principle says you should assume attackers know exactly how your encryption works. Only the key should be secret. If the security depends on hiding the design, it will fail once the design leaks.
A good padlock is one you can buy in any shop and study at home, and still cannot open without the key.
Why it matters
For this reason trustworthy encryption uses published, openly tested algorithms, and experts distrust products that boast about 'secret' or 'proprietary' encryption.
In plain words
Kerckhoffs's principle says you should assume attackers know exactly how your encryption works. Only the key should be secret. If the security depends on hiding the design, it will fail once the design leaks.
Think of it like this
A good padlock is one you can buy in any shop and study at home, and still cannot open without the key.
Why it matters
For this reason trustworthy encryption uses published, openly tested algorithms, and experts distrust products that boast about 'secret' or 'proprietary' encryption.
Where you meet it
Every standard in this glossary follows it. Its opposite is called 'security through obscurity'.
More diagrams: How a new algorithm reaches your phone
Go deeper history and technical detail
Auguste Kerckhoffs, a Dutch-born linguist and cryptographer, set it out in 1883 in a set of principles for military ciphers. Claude Shannon later put it more bluntly as 'the enemy knows the system'. Homemade or secret algorithms have a long record of being broken soon after someone takes a proper look.
Related terms
Cite this page Encryption Observer, “Kerckhoffs's principle”, encryption.observer/terms/kerckhoffs/, checked December 2026.