计算机科学 > 信息论
[提交于 2024年10月18日 (v1),最后修订于 2026年11月25日 (此版本, v3)]
标题:Revisiting Unicity Distance: A Channel Transmission Perspective and Its Limits
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.