There is one cipher that can never be broken, however much computing power an attacker has. It explains both what perfect secrecy needs and why we do not use it every day.
A cipher that cannot be broken
| Letter 1 | Letter 2 | Letter 3 | |
|---|---|---|---|
| Message | Y | E | S |
| As numbers | 24 | 4 | 18 |
A one-time pad turns letters into numbers (A = 0, B = 1, … Z = 25) and adds a random number to each. Here the message is YES: 24, 4, 18.
Why nobody uses it every day
The key must be as long as everything you will ever send, made truly at random, and handed to the other person in secret beforehand. If you could do that safely, you could almost hand over the message itself. Reusing a pad breaks it completely: in the 1940s, the Soviet Union reused some pad pages, and American codebreakers in the Venona project read many of the messages.
Keep the key secret, not the method
A method kept secret will leak one day: a stolen manual, a former employee, a copy of the software taken apart. When it does, every message is exposed at once, and the method cannot easily be changed. A key can be changed in moments. That is why trusted ciphers such as AES are published openly and studied by experts worldwide for years before anyone relies on them. Relying on a secret method is called security through obscurity, and it is a warning sign.
CIPH-3 counts as completed once you step through the figure to its last step.