Revisiting Unicity Distance: a Channel Transmission Perspective and its Limits

This paper revisits the classical notion of unicity distance for substitution ciphers from an information-theoretic perspective. We frame simple-substitution encryption as a noisy transmission channel, in which the plaintext is the message, the unknown key is the noise, and the attacker is the receiver. Using typical sets to motivate the notion of meaningful plaintexts, we apply the channel coding theorem to blocks of plaintext encrypted with independent fresh keys. We show that a block length exceeding H(K)/D permits reliable communication at the language's entropy rate using suitably chosen codebooks across many blocks. This provides a channel transmission interpretation of the classical unicity-distance formula. We then test how well this formula describes plaintext recovery when the message is a passage from six known novels. More than 99% of the passages are uniquely identifiable at 18 letters, well before the classical estimate of about 28. N-gram language models, based on the frequencies of short letter sequences, predict the recovery probabilities much more closely. Hellman (1977) warned that the classical estimate can overstate security, but not by how much. Here it is off by about ten letters.

Publication Details

Journal
The PUMP Journal of Undergraduate Research
Published
2026-11-25
DOI
https://doi.org/10.46787/pump.v9i.4428
Primary Topic
Cryptographic Implementations and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Revisiting Unicity Distance: a Channel Transmission Perspective and its Limits

The PUMP Journal of Undergraduate Research
Cryptographic Implementations and Security
article

Revisiting Unicity Distance: a Channel Transmission Perspective and its Limits

article en

Abstract

This paper revisits the classical notion of unicity distance for substitution ciphers from an information-theoretic perspective. We frame simple-substitution encryption as a noisy transmission channel, in which the plaintext is the message, the unknown key is the noise, and the attacker is the receiver. Using typical sets to motivate the notion of meaningful plaintexts, we apply the channel coding theorem to blocks of plaintext encrypted with independent fresh keys. We show that a block length exceeding H(K)/D permits reliable communication at the language's entropy rate using suitably chosen codebooks across many blocks. This provides a channel transmission interpretation of the classical unicity-distance formula. We then test how well this formula describes plaintext recovery when the message is a passage from six known novels. More than 99% of the passages are uniquely identifiable at 18 letters, well before the classical estimate of about 28. N-gram language models, based on the frequencies of short letter sequences, predict the recovery probabilities much more closely. Hellman (1977) warned that the classical estimate can overstate security, but not by how much. Here it is off by about ten letters.

The PUMP Journal of Undergraduate ResearchVol. 9
Cryptographic Implementations and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon