Ciphertext 2026-09-29
Ciphertext is the encrypted message produced by a cipher.
Cryptography Created 2026-10-05 Updated 2026-10-06
The design and analysis of protocols that protect information or authenticate messages in the presence of adversaries. It includes ciphers, digital signatures and cryptographic hash functions.
A cipher has perfect secrecy when the conditional probability of every plaintext given a ciphertext equals its prior probability: whenever . Equivalently, the plaintext and ciphertext are independent random variables.
Fix a ciphertext that can occur. Perfect secrecy requires every possible plaintext to remain possible after observing . For a deterministic decryption rule, two different plaintexts producing require two different keys, so the key space has cardinality at least that of the message space.
In a one-time pad, the message and key belong to the same finite additive group, the key is uniform and independent of the message, and encryption is . For every there is exactly one key , so
independent of . Bayes' theorem then gives , proving perfect secrecy.
Plaintext 2026-09-29
Plaintext is the unencrypted message supplied to a cipher.