Encryption Observer

Glossary The basics

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.

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'.

The designpublished, tested by everyone+The keythe only secretSecureAES, RSA and ML-KEM all work this way.Secret designs tend to fall once someone takes one apart.
A good cipher's design is published for everyone to attack. Only the key is secret, so a leaked design does no harm.

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.