SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Perfect secrecy

Perfect secrecy is Claude Shannon's condition, set out in “Communication Theory of Secrecy Systems” in the Bell System Technical Journal in October 1949, that intercepting a cryptogram tells the enemy nothing: after the interception, the a posteriori probabilities of the possible messages must be identically the same as their a priori probabilities 1. Shannon framed it for an enemy who knows the system in use, meaning the family of enciphering transformations and the probabilities of choosing the keys, and lacks only the particular key 1.

Shannon proved that perfect secrecy holds exactly when the probability of each cryptogram is the same whatever message was sent (his Theorem 6), and drew a bound from it: the number of different keys is at least as great as the number of possible messages 1. He showed that the bound can be met exactly, and that for messages generated as unending streams of symbols this kind of perfect secrecy is realised by the Vernam system, now called the one-time pad, which uses as much key as message 1. When the message source is redundant, the message can first be compressed so that a bit of key conceals a bit of information, which he showed is the best that can be done 1. Boneh and Shoup's textbook states the bound as Shannon's theorem, that a perfectly secure cipher has a key space at least as large as its message space, and calls perfect security the gold standard when only a single message is encrypted and integrity is not a concern 2.

The bound is what limits the notion's use. Shannon noted that perfect secrecy needs an unlimited amount of key if messages of unlimited length are allowed 1, and Boneh and Shoup describe perfectly secure ciphers as almost impossible to use in practice for that reason, since parties must agree in advance on a key as long as everything they will send 2. Shannon still saw a place for such systems where complete secrecy matters most, such as correspondence between the highest levels of command, or where only a few messages are possible, such as a yes or no 1.

Later cryptography kept the shape of Shannon's definition while limiting the adversary. Goldwasser and Micali's 1984 paper on probabilistic encryption presents semantic security as a polynomially bounded version of Shannon's perfect secrecy: for adversaries with polynomially bounded resources, the a posteriori probabilities of an intercepted cryptogram representing the various messages are the same as the a priori ones 3.

Source · Communication Theory of Secrecy Systems (opens in a new tab) · Bell System Technical Journal 28(4)

References

  1. Communication Theory of Secrecy Systems (opens in a new tab) · Bell System Technical Journal 28(4), course copy at the University of Wisconsin-Madison · October 1, 1949 ↩ ↩ ↩ ↩ ↩ ↩ ↩
  2. A Graduate Course in Applied Cryptography, version 0.6 (opens in a new tab) · Dan Boneh and Victor Shoup · January 1, 2023 · Section 2.1, Definition 2.1 and Theorem 2.5 (Shannon's theorem). ↩ ↩
  3. Probabilistic Encryption (opens in a new tab) · Journal of Computer and System Sciences 28(2), course copy at MIT · April 1, 1984 ↩

Research articles

See what connects to it on the map of ideas →

See also