Shannon 1949 · Perfect secrecy

Perfect secrecy (Shannon)

Perfect secrecy is a precise relationship between hidden information and an observer’s evidence.

Jump to formal section

~8 min overview · ~6 min formalContinue: Uniform channel

Shannon’s gold standard

Claude Shannon defined perfect secrecy by the relationship between a protected message and the ciphertext an observer receives. Observing the ciphertext leaves the probability of each candidate message at its prior value. The result holds regardless of the observer’s computing power.

Perfect secrecy · posterior = prior

Start from Shannon perfect secrecy: ciphertext reveals nothing because the posterior equals the prior (I(M;C)=0). The bridge panel carries that emptiness idea into authorization transcripts (I(X;O|C)=0). Takeaway: posterior equals prior is the claim anchor before Channel Zero claims.

Each candidate message retains its original probability after the ciphertext is observed. If two messages had different probabilities beforehand, that difference remains. A uniform prior is a special case.notation).

OTP workshop (intuition)

A one-time pad uses a secret, uniformly random pad independent of the message. For equal-length bit strings, exclusive-or combines the message and pad. With a pad used once, the observed ciphertext is equally likely under each candidate message, so the observer’s prior distribution stays unchanged.

A one-time pad requires fresh secret material of at least the message length, a secure way to distribute it, and controls to prevent reuse. Those operating requirements govern when a one-time pad is practical.

Computational security versus perfect secrecy

Confusing the two tiers is expensive. AES with a large key is still a computational bargain: a bounded adversary is assumed too slow. Perfect secrecy does not care about the attacker’s computer, because confidentiality rests on emptiness.

Computational security versus Shannon perfect secrecy
DimensionComputationalPerfect secrecy
Adversary powerBounded (time, energy, silicon)Unbounded still learns nothing
MetricHardness / feasible attack costPosterior = prior; empty mutual information
LifespanExpires when algorithms or machines catch upFails only when model assumptions fail

See also: Today's crypto: a bet on hard math.

From messages to authorization transcripts

Message secrecy asks what ciphertext reveals about the message. Channel Zero asks what the observed proof exchange reveals about the enrolled secret, conditional on the challenge and model. Authorization also requires a check of the requested operation and a record that controls prior use.

That is recovering the spirit of Shannon for access proofs: the archive of public events should not shift beliefs about the secret under the axioms. Flat public symbols are load-bearing structure for that claim, see A flat, unreadable channel. Metaphor and framing: When the channel reveals nothing.

Formal equivalences

For every pair of messages, the ciphertext distribution is the same, or equivalently zero mutual information between message and ciphertext. In entropy language, uncertainty after seeing the ciphertext equals uncertainty before. OTP existence uses exclusive-or with a one-time key of equal length. Authorization under Channel Zero maps the same emptiness idea onto the ceremony channel (notation).

Shannon perfect secrecy

Read as: The ciphertext carries zero mutual information about the message.

Arguments

M
: message or protected value before observation
C
: ciphertext in the Shannon secrecy equation

Operators

I
: mutual information
= 0
: posterior belief does not change after observing ciphertext

Significance: Seeing the ciphertext does not change beliefs about the message: posterior equals prior.

Computational contrast: Ciphers under a computational hardness assumption assume a bounded adversary is too slow; this equation holds even against unbounded compute when the model assumptions hold.

References:Perfect secrecy

Entropy form of perfect secrecy

Read as: Uncertainty about the message after seeing ciphertext equals the uncertainty before seeing it.

Arguments

M
: message whose uncertainty is preserved
C
: ciphertext observation

Operators

H
: entropy or uncertainty measured in bits
\mid
: conditional uncertainty after the observation
=
: the observation leaves uncertainty unchanged

Significance: Uncertainty about the message is unchanged by observing the ciphertext.

Computational contrast: Computational security can leave residual uncertainty that shrinks with better algorithms; perfect secrecy keeps H(M∣C)=H(M) by construction.

References:Perfect secrecy

One-time pad mixer

Read as: Ciphertext is the message mixed with a one-time key of equal length via exclusive-or.

Arguments

C
: ciphertext (Shannon notation on this page; not the Channel Zero challenge)
M
: message or plaintext being protected
K
: uniform one-time key of equal length, never reused

Operators

\oplus
: bitwise exclusive-or mixer
=
: ciphertext is exactly the XOR of message and key

Significance: It is the clean existence proof that perfect secrecy is achievable when key logistics hold.

Computational contrast: Short-key computational ciphers replace this pad logistics cost with a computational hardness assumption; OTP pays in key material, not in attack-cost assumptions.

References:Perfect secrecyOne-time pad

Authorization empty channel

Read as: Given challenge C, observable transcript O reveals no mutual information about hidden state X.

Arguments

X
: hidden state: private map, secret choice, key material, or local ceremony state
O
: observable public transcript or archive
C
: public challenge or context conditioning the observation

Operators

I
: mutual information between hidden state and observation
\mid
: conditioning on the public challenge
= 0
: zero effective leakage under the stated model

Significance: The same Shannon emptiness spirit applied to authorization transcripts: the public ceremony should not leak secret-relevant information given the challenge.

Computational contrast: The observable archive carries no mutual information about the hidden state under the stated model, an information-theoretic property distinct from the cost of recovering a stolen token.

References:Channel ZeroInformation-theoretic authorization

Given the public challenge, the observable transcript carries zero Shannon mutual information about the secret.Reported testAxiom P3 / perfect-secrecy pillar: structural absence of secret-relevant information in O, not merely computational hardness.Holds under the reference architecture