Research Library · Idea
Semantic security
Semantic security is the requirement, defined by Shafi Goldwasser and Silvio Micali, that whatever an eavesdropper can compute about the cleartext given the ciphertext, it could also compute without the ciphertext 2. It is the basic confidentiality goal for encryption against an adversary with bounded computing power, and its game-based form is known as indistinguishability under chosen-plaintext attack, or IND-CPA 3.
Goldwasser and Micali's 1982 paper at the ACM Symposium on Theory of Computing, “Probabilistic Encryption & How to Play Mental Poker Keeping Secret All Partial Information”, introduced encryption that uses coin tosses, so that each message has many possible ciphertexts, with security based on the assumption that deciding quadratic residuosity modulo composite numbers is hard 1. The 1984 journal version in the Journal of Computer and System Sciences explains the motivation: the fact that a function such as RSA is a trapdoor function does not rule out computing the message when it has a special form, or easily computing partial information about it 2.
The journal paper separates two definitions 2. Polynomial security says that no efficient algorithm can find two messages whose encryptions an efficient eavesdropper can tell apart; the paper notes that systems with deterministic encryption, such as RSA, cannot meet it. Semantic security is the simulation statement above. The paper proves that every polynomially secure system is semantically secure, and describes the result as a polynomially bounded version of Shannon's perfect secrecy 2. Bellare, Desai, Pointcheval and Rogaway later observed that Goldwasser and Micali's polynomial security is what is now called IND-CPA, and that the two had shown it equivalent to semantic security 3.
In Boneh and Shoup's textbook version for public-key encryption, the challenger generates a key pair and sends the public key, the adversary submits two messages of the same length, and the challenger encrypts one of them; the scheme is secure if no efficient adversary can tell which with more than negligible advantage 4. A direct consequence is that semantically secure public-key encryption must be randomised: against a deterministic scheme the adversary encrypts one of its own messages and compares the result with the challenge, and wins every time 4.
The notion covers an adversary who can encrypt but not decrypt. Stronger goals, in which the adversary may also have chosen ciphertexts decrypted, are treated as chosen-ciphertext security, and Bellare and his coauthors warned against assuming anything beyond IND-CPA that has not been demonstrated 3.
Source · Probabilistic Encryption (opens in a new tab) · Journal of Computer and System Sciences 28(2)
References
- Probabilistic Encryption & How to Play Mental Poker Keeping Secret All Partial Information (opens in a new tab) · Proceedings of the 14th Annual ACM Symposium on Theory of Computing, course copy at Purdue University · May 5, 1982 ↩
- Probabilistic Encryption (opens in a new tab) · Journal of Computer and System Sciences 28(2), course copy at MIT · April 1, 1984 · Sections 1.2 and 5; Theorem 5.2 shows polynomial security implies semantic security. ↩ ↩ ↩ ↩
- Relations Among Notions of Security for Public-Key Encryption Schemes (opens in a new tab) · Mihir Bellare, Anand Desai, David Pointcheval and Phillip Rogaway, full version of a CRYPTO '98 paper, UC San Diego · June 1, 2001 ↩ ↩ ↩
- A Graduate Course in Applied Cryptography, version 0.6 (opens in a new tab) · Dan Boneh and Victor Shoup · January 1, 2023 · Attack Game 11.1 and Section 11.3.1, The need for randomized encryption. ↩ ↩
Research articles
- Secrecy as mathematics: a reader in cryptography from Shannon's secrecy paper to provable security and the timing leak · Cybersecurity foundations
See what connects to it on the map of ideas →

SecSIG