完善保密性及其松弛
Perfect Secrecy and its Relaxation.
If an encryption scheme is perfectly secure, the ciphertext reveals NO additional information to the adversary about the underlying plaintext, even if the adversary has unbounded computational power.
Perfect secrecy is the strongest definition of security.
Probability Definition
for all - (perfect indistinguishability)
for all
Adversarial Indistinguishability Experiment
Encryption scheme
Threat model: adversary
selects 2 plaintexts . - Challenger
generates a random bit , and runs . is called the challenge ciphertext and is given back to . finally outputs a bit , indicating that corresponds to the plaintext . successes if .
Perfect secrecy of
This means that adversary has NO better choice than simply outputting a random guess.
Shannon's Theorem
Shannon points out that an encryption scheme could be perfectly secure only when
One-time pad is a typical perfectly secure scheme: adversary can never derive
In real life, perfectly secure encryption scheme has little application value: If 2 parties have the ability to safely transmit a key of the same length as the plaintext, then obviously it is better to transmit the plaintext directly.
Relaxation: Computational Secrecy
The relaxed definition of perfect secrecy is more frequently used in reality:
- Polynomial probabilisitic time (PPT) adversary (deprived of unbounded computational power)
- adversary is allowed to success with negligible advantage
It is called asymptotic computational secrecy.
(Non-)Negligible advantage is an asymptotic concept.
相信学习过密码学的同学所接触的第一个加密方法都是一次性密码本 One-time pad,这也是最令我惊叹的加密方法之一:其操作是那样的简单优美,只需要将明文和密钥异或起来即可生成密文。
然而,就是这么简单的算法,居然满足完美安全的定义:也就是说,按照 OTP 算法生成的密文
这不禁让我的中二之魂熊熊燃烧……
P.S. 事后我想了想,如果