Abstract
What does it mean, stated precisely, for encryption to be secure, and what is proved and what assumed? Shannon answered in 1949 for an unbounded adversary: perfect secrecy is possible, and with invertible encryption under a shared key it needs at least as many possible keys as possible messages, counting everything the key protects. Public-key cryptography, from Merkle, Diffie and Hellman, and Rivest, Shamir and Adleman, rested instead on problems believed hard, such as factoring and discrete logarithms. Diffie and Hellman stated computational requirements in 1976; the modern definitions covered here start with Goldwasser and Micali in 1982 and continue with simulation-based zero knowledge and chosen-ciphertext security. A modern proof is usually a reduction: an efficient attack in a stated model would yield an efficient solution to a stated problem. It does not prove that problem hard, it sometimes relies on an idealised hash function, and it covers only what its game lets the adversary observe. Full AES is assumed pseudorandom on the strength of public cryptanalysis. Several important failures, from Kocher’s timing attack to Bleichenbacher’s padding oracle, came from behaviour that implementations exposed and the models left out.
The question
A claim that a cipher is secure often means that nobody known has broken it. The papers in this reader replaced that, step by step, with checkable statements: what the adversary may do, what counts as winning, and how much winning is tolerated.
Three kinds of answer appear, in roughly historical order.
- Information-theoretic. The adversary has unlimited computing power, and security means the ciphertext changes nothing the adversary believes about the message. Shannon made this precise in 1949, and showed what key it requires.
- Computational, by assumption. The adversary is limited to feasible computation, and breaking the scheme is believed to require solving a problem, such as factoring a large integer, that nobody knows how to solve quickly. Public-key cryptography from 1976 onward works this way.
- Computational, by definition and reduction. A precise definition, usually a game and sometimes a simulation requirement, fixes what the adversary may do and what counts as success; a scheme is secure if every efficient adversary has only negligible advantage; and a proof shows that an adversary who did better could be turned into an algorithm for a problem assumed hard. This is “provable security”; the definitions covered here start with Goldwasser and Micali in 1982.
Each layer leaves something unproved. The first requires secret key material at least as large as Shannon’s bound, distributed in advance. The second assumes a specific problem is hard. That is a stronger and different claim from P ≠ NP, which concerns worst-case instances: as Impagliazzo put it, a problem “could have no efficient worst-case algorithm but still be solvable for ‘most’ instances”, while cryptography needs instances that are hard on average, in the distribution the scheme actually generates.1 The reader on computability and complexity covers the gap. The third assumes the model matches the deployment, and each model fixes what the adversary can observe.
Before Shannon: Kerckhoffs
In 1883 Auguste Kerckhoffs, writing on military cryptography in the Journal des sciences militaires, set out six desiderata for a field cipher.2 The first already separates two standards of security: the system must be “matériellement, sinon mathématiquement, indéchiffrable”, practically if not mathematically undecipherable. The second is the one most often quoted:
2° Il faut qu’il n’exige pas le secret, et qu’il puisse sans inconvénient tomber entre les mains de l’ennemi ;
That is: the system must not require secrecy, and it must be able to fall into the hands of the enemy without inconvenience.2 The third asks that the key can be communicated and remembered without written notes and changed or modified at the correspondents’ will. The last three concern use in the field: suitability for telegraphy, portability and operation by one person, and ease of use without mental strain or a long list of rules.2
Shannon, 1949
Claude Shannon’s “Communication Theory of Secrecy Systems” appeared in the Bell System Technical Journal in October 1949.3 It applies the framework of his 1948 “A Mathematical Theory of Communication”4, which the reader on information theory covers, to what Shannon called “true” secrecy systems, in which the existence of the message is not hidden and “the enemy is assumed to have any special equipment necessary to intercept and record the transmitted signal.”3
Secrecy systems and the enemy who knows the system
A secrecy system, for Shannon, is a family of invertible transformations of messages into cryptograms, one per key, together with a probability for each key. He adopts Kerckhoffs’s principle as a modelling assumption: “we shall assume that the enemy knows the system being used. That is, he knows the family of transformations T_i, and the probabilities of choosing various keys.”3 What the enemy lacks is the particular key. The framing names the adversary’s knowledge, its goal and a probabilistic measure of success, and later definitions keep that shape while changing the adversary’s powers.
Perfect secrecy and the key-count bound
Shannon’s definition, in §10 of the paper: a system has perfect secrecy if, after the enemy intercepts a cryptogram, “the a posteriori probabilities of this cryptogram representing various messages be identically the same as the a priori probabilities of the same messages before the interception.”3
His Theorem 6: perfect secrecy holds exactly when P_M(E) = P(E) for all messages M and cryptograms E, so each cryptogram is equally likely whatever the message.3 A lower bound on the number of keys follows in a few lines, for a system in which each key gives an invertible transformation.
- Fix any cryptogram E that can occur. Perfect secrecy says every message M of positive probability has a nonzero probability of producing E (otherwise seeing E would rule M out, changing the enemy’s beliefs).
- So for each such message there is at least one key that sends it to E.
- These keys are distinct for distinct messages: one key cannot send two different messages to the same E and still be decrypted.
- Therefore there are at least as many possible keys as possible messages.
In Shannon’s words, “the number of different keys is at least as great as the number of M’s.”3 Here “messages” are those with positive probability under the stated message distribution, and when several values are protected together under one key the count is over the possible combinations. If every n-bit string is a possible message, at least 2^n keys are needed, so keys written as fixed-length bit strings need at least n bits. Shannon shows the count can be met exactly. With messages, cryptograms and n equally likely keys all labelled 0 to n − 1 (Shannon labels them 1 to n), let key i send message j to cryptogram i + j mod n: a “Latin square” in which each message is joined to each cryptogram by exactly one key.3
The one-time pad, and what happens when the pad is reused
For binary data the same idea gives the Vernam cipher, now called the one-time pad: the key is a string of independent, uniformly random bits as long as the message, and the ciphertext is the bitwise exclusive-or (XOR) of the two. Shannon notes that this kind of perfect secrecy “is realized by the Vernam system.”3 For any fixed message m and ciphertext c exactly one key works, k = m XOR c, and every key has probability 2^-n, so every ciphertext has probability 2^-n whatever the message.
The guarantee covers one message per key. Take two 8-bit plaintexts and one 8-bit key:
| bits | |
|---|---|
| plaintext p1 | 10110010 |
| plaintext p2 | 01101100 |
| key k (used twice) | 11010110 |
| c1 = p1 XOR k | 01100100 |
| c2 = p2 XOR k | 10111010 |
| c1 XOR c2 | 11011110 |
| p1 XOR p2 | 11011110 |
The key cancels: c1 XOR c2 = (p1 XOR k) XOR (p2 XOR k) = p1 XOR p2. An eavesdropper with both ciphertexts learns the XOR of the two plaintexts without learning the key. That is a relation between the messages, not the messages themselves; how much more it reveals depends on their redundancy and on what else the eavesdropper knows or can guess. The same cancellation occurs in any scheme that XORs plaintext with a keystream whenever the same keystream positions are reused under the same key.
Unicity distance
A short key cannot give perfect secrecy, so Shannon asked how much ciphertext an unbounded adversary needs before the solution becomes essentially unique. He measures the remaining uncertainty by the equivocation, the conditional entropy of the key or of the message given the cryptogram, and keeps the two apart: the message can be determined while part of the key is not, since in simple substitution “only fairly long messages will contain all letters of the alphabet and thus involve the complete key.”3 For an idealised “random cipher” he estimates the length at which the key equivocation approaches zero, the unicity distance, as roughly H(K)/D: the logarithm of the number of equally likely keys divided by the redundancy of the language per letter. It describes a typical cryptogram statistically, not a sharp threshold.3
For simple substitution on English his summary takes H(K) = log10 26! and D about 0.7 decimal digits per letter, and concludes “unicity occurs at about 30 letters.” (It calls log10 26! “about 20”; it is about 26.6.) In §15 a “key appearance characteristic”, the amount of key a cryptogram of given length is expected to use, refines this to “about 27 letters”, which he says lies experimentally between 20 and 30.3
Unicity distance ignores the work of finding the solution. Shannon treated that separately, under “practical secrecy”: two systems may both be uniquely solvable “but differ greatly in the amount of labor required to effect this solution.”3
Public keys
Every system Shannon analysed assumed the two parties already shared a key. Diffie and Hellman noted in 1976 that businesses with no prior contact cannot wait while keys travel “by some physical means”.5 Three papers published between 1976 and 1978 showed in the open literature how two parties without a pre-shared secret can agree on or send a secret over a channel a passive adversary reads in full, with security resting on a computation the adversary is assumed unable to do.
Merkle’s puzzles
Ralph Merkle proposed his method as an undergraduate course project in autumn 1974. On his own account the instructor rejected it, and the paper he submitted to Communications of the ACM in August 1975 was rejected after a referee wrote that it was “not in the main stream of present cryptography thinking”; it appeared in April 1978.67
A puzzle is a ciphertext deliberately encrypted under a key from a small key space, so that it can be broken with a known amount of work. The method “forces any enemy to expend an amount of work which increases as the square of the work required of the two communicants to select the key.”7
- X creates N puzzles, each taking work of order N to solve, each holding a random ID and a random puzzle key, and sends them all to Y.
- Y picks one at random and solves it, learning its ID and key.
- Y sends the ID back in the clear; X looks up the matching key.
The eavesdropper Z sees all the puzzles and the ID but not which puzzle holds that ID, so Z “must break puzzles at random until he encounters the correct one.”7 On average that is about N/2 puzzles at work N each, about N^2/2 in all. As a toy estimate in this model, counting one unit per trial decryption: with N = 1,000, Y’s search costs of order 1,000 trials, Z expects about 500,000, and X’s work is of a different kind, preparing 1,000 puzzles.7
The gap is only quadratic, and all N puzzles must be transmitted; Diffie and Hellman noted that the users’ cost “is as much in transmission time as in computation.”5 The puzzles showed that a shared secret can be set up over a fully public channel with a quantifiable work gap, under an idealised assumption about the cipher that builds them.
Diffie and Hellman, 1976
“New Directions in Cryptography” appeared in the IEEE Transactions on Information Theory in November 1976. Its first sentence is “We stand today on the brink of a revolution in cryptography.”5 The paper does three things.
It defines public-key cryptosystems. Enciphering and deciphering use distinct keys E and D, “such that computing D from E is computationally infeasible”, so E can be published.5 The authors had no construction; the problem, they wrote, “is still largely open”.5
It sets digital signatures as a goal. Since digital data can be copied exactly, “a true digital signature must be recognizable without being known.”5
It gives a public key distribution system, the Diffie-Hellman key exchange. Fix a large prime q and a primitive element α (one whose powers run through all nonzero residues mod q). User i picks a secret X_i and publishes Y_i = α^X_i mod q; users i and j share K_ij = α^(X_i X_j) mod q, which i computes as Y_j^X_i mod q and j as Y_i^X_j mod q.5
A worked example with p = 23 in the role of q and g = 5 in the role of α (the powers of 5 mod 23 run through all 22 nonzero residues):
| Alice | Bob | |
|---|---|---|
| secret exponent | a = 6 | b = 15 |
| public value | A = 5^6 mod 23 = 8 | B = 5^15 mod 23 = 19 |
| shared key | B^a = 19^6 mod 23 = 2 | A^b = 8^15 mod 23 = 2 |
Both get 2, which is 5^90 mod 23. The eavesdropper sees 23, 5, 8 and 19, and with numbers this small finds a = 6 by trial. The paper’s own comparison, for a prime of about 200 bits, was at most 400 multiplications for the users against about 2^100 operations to take logarithms, on its stated assumption that logarithms take about q^(1/2) operations.5 That is a 1976 illustration, not present-day parameter guidance.
The authors labelled that assumption provisional (“For now we assume that the best known algorithm for computing logs mod q is in fact close to optimal”) and said what they had not proved: “While we do not currently have a proof of the converse (i.e., that the system is secure if logs mod q are difficult to compute), neither do we see any way to compute K_ij from Y_i and Y_j without first obtaining either X_i or X_j.”5 Computing g^(ab) from g^a and g^b is now called the computational Diffie-Hellman (CDH) problem.8 Boneh and Venkatesan list proving or disproving its equivalence to discrete logarithms among “longstanding open problems”.9 Boneh and Shoup separate three things: the shared group element, the session key derived from it, and authentication. Against a passive eavesdropper, anonymous key exchange has its own definition of security (Definition 10.1), and “The Diffie-Hellman key exchange is secure against a passive eavesdropper” (§§10.4, 10.7). Against an active adversary who controls the network the bare protocol “completely falls apart”, because of “the lack of authentication”: a man in the middle runs one exchange with each party (§10.7).8 Authenticated key exchange (Chapter 21) asks that each party know with whom it shares the session key, and that the key be “effectively a fresh, random key that is known only to” that peer; one-sided authentication has its own definition (§21.6).8
RSA, 1978
Rivest, Shamir and Adleman’s “A Method for Obtaining Digital Signatures and Public-Key Cryptosystems” (received April 1977, published February 1978) supplied a candidate trap-door function.10 Its abstract states the method: represent the message as a number M, raise it to a public power e, and reduce modulo a public product n of two large secret primes p and q; decryption uses a secret power d with e · d ≡ 1 (mod (p − 1)(q − 1)). “The security of the system rests in part on the difficulty of factoring the published divisor, n.”10 Knowing the factors lets one compute d and invert; the reverse direction, that inverting RSA requires factoring, is unproved. Boneh and Venkatesan call proving or disproving it a “longstanding open problem”, and give evidence that breaking low-exponent RSA may not be equivalent to factoring, while stressing that their result exposes no specific weakness in RSA.9
A worked example small enough to check by hand:
- Primes p = 61, q = 53. Modulus n = 61 × 53 = 3233. φ(n) = (61 − 1)(53 − 1) = 60 × 52 = 3120.
- Public exponent e = 17, which shares no factor with 3120.
- Private exponent d is the inverse of 17 mod 3120. The extended Euclidean algorithm gives 3120 = 17 × 183 + 9, 17 = 9 × 1 + 8, 9 = 8 × 1 + 1; working back, 1 = 2 × 3120 − 367 × 17, so d = −367 mod 3120 = 2753. Check: 17 × 2753 = 46801 = 15 × 3120 + 1.
- Encrypt m = 65. Square-and-multiply: 65^2 mod 3233 = 992, 65^4 = 992^2 mod 3233 = 1232, 65^8 = 1547, 65^16 = 789, and 65^17 = 789 × 65 mod 3233 = 2790. So c = 2790.
- Decrypt: 2790^2753 mod 3233 = 65.
Signing reverses the roles: the signer computes s = m^d mod n, and anyone verifies s^e mod n = m. The paper presented both uses from the start.10
The bare operation is now called “textbook RSA”, and it has two properties that matter for everything that follows.
It is deterministic. Encrypting 65 under this key gives 2790 every time. An eavesdropper who suspects the message is “attack” or “retreat” encrypts both under the public key and compares. Boneh’s survey of attacks on RSA notes that in practice messages are padded with randomness before encryption, and that “Adding randomness to the encryption process is necessary for proper security.”11
It is malleable. Multiplying ciphertexts multiplies plaintexts: (m1^e)(m2^e) = (m1 m2)^e mod n. Take c = 2790 and multiply by 2^17 mod 3233 = 1752: the result is 3017, which decrypts to 130, exactly 2 × 65. Anyone can turn an encryption of m into one of 2m without knowing m; the section on chosen-ciphertext attacks shows why that is fatal.
From assumptions to definitions
Diffie and Hellman had stated security requirements as computational infeasibility in 1976.5 RSA supplied a candidate trap-door mechanism whose security, its authors wrote, rests “in part” on factoring;10 Boneh and Venkatesan distinguish factoring from the assumption that RSA itself is hard to invert.9 What remained open was what encryption should hide: “the adversary cannot recover the message” allows a scheme to leak the part that matters.
Goldwasser and Micali: probabilistic encryption and semantic security
Shafi Goldwasser and Silvio Micali’s 1982 paper “Probabilistic Encryption & How to Play Mental Poker Keeping Secret All Partial Information” opens with the property it wants: an adversary who knows the encryption algorithm and is given the ciphertext “cannot obtain any information about the cleartext.”12 They explain why trap-door functions such as RSA and Rabin’s scheme do not give this directly, with an analogy: “Covering ones face with a handkerchief certainly helps to hide personal identity.”12 Their own example is pointed: for any trap-door function E_A, the predicate “E_A(x) is even” is easy to evaluate from the ciphertext, so by a definition based on partial information “no Public Key Cryptosystem based on trapdoor functions is secure.”12
Their fix has two parts.
Probabilistic encryption. “To encrypt each message we make use of a fair coin”: encryption depends on the message and on coin tosses, so each message has many possible encryptions.12 Their scheme encrypts one bit at a time. The public key is a product N of two secret primes and a number y that is a unit modulo N, is not a square modulo N, and has Jacobi symbol +1. For each bit, the sender picks x uniformly from the units modulo N and sends x^2 mod N for a 0 and y · x^2 mod N for a 1.12 The Jacobi symbol “is computable in polynomial time even when the factorization of n is not known”, and if it is −1 the number cannot be a square; but every ciphertext here has Jacobi symbol +1, and among such numbers the test settles nothing, so telling squares from non-squares is exactly the quadratic-residuosity problem.1213 The owner of the factors can decide it. Their theorem is computational and conditional: if deciding quadratic residuosity modulo such composites is infeasible, no efficient adversary gains a non-negligible advantage, from the ciphertext, in evaluating any easy-to-compute predicate of the cleartext.12
A definition of security with an advantage. If a predicate of the message holds with probability p ≥ 1/2, anyone can guess it with probability p unaided; a system is “ε secure” if no adversary, given the ciphertext, guesses any easy-to-compute predicate with probability greater than p + ε.12
The journal version, “Probabilistic Encryption” (Journal of Computer and System Sciences 28, April 1984), separates two notions.13 Polynomial security says that no polynomially bounded “message finder” can find two messages whose encryptions a polynomially bounded “line-tapper” can tell apart; the paper notes that deterministic schemes such as RSA “cannot be polynomially secure”. Semantic security says that “whatever an eavesdropper can compute about the cleartext given the cyphertext, he can also compute without the cyphertext”, a “polynomially bounded version of Shannon’s perfect secrecy”. Theorem 5.2 proves that every polynomially secure system is semantically secure.13 Later accounts, including Bellare, Desai, Pointcheval and Rogaway’s, treat the two as equivalent and work with polynomial security under the name indistinguishability.14
The IND-CPA game, step by step
Indistinguishability under chosen-plaintext attack is defined by a game between a challenger and an adversary. The version below is the bit-guessing form of Boneh and Shoup’s Attack Game 11.1 for public-key encryption.8
- The challenger generates a key pair (pk, sk) and sends pk to the adversary.
- The adversary chooses two messages m0 and m1 of the same length and sends them.
- The challenger picks a bit b uniformly at random, encrypts m_b with fresh randomness, and sends the ciphertext c.
- The adversary outputs a guess b̂.
For this IND-CPA bit-guessing game the reader uses the half-scale convention: the adversary’s advantage is |Pr[b̂ = b] − 1/2|. Boneh and Shoup’s primary form runs two experiments and measures the difference in the adversary’s output, which is exactly twice this quantity.8 A scheme is semantically secure if every efficient adversary’s advantage is negligible. In the asymptotic version that means smaller than every inverse polynomial in the security parameter. In the concrete version it means a stated numerical bound for adversaries with stated running time and resources.
The ciphertext must give the adversary no useful information about which of its two messages was encrypted, beyond what the game allows; length may leak, hence the equal lengths.8 Holding the public key, the adversary can encrypt anything itself.
The game rules out textbook RSA and every deterministic public-key scheme. Boneh and Shoup give the adversary: choose any two distinct m0 and m1, compute c0 = E(pk, m0) yourself, and output 0 if the challenge equals c0 and 1 otherwise. It always guesses correctly, so its advantage is 1/2 in this reader’s convention (1 in the two-experiment form), the largest possible; hence “semantically secure public-key encryption schemes must be randomized.”8 In the RSA example, the adversary submits m0 = 65 and m1 = 66, receives 2790, and knows b = 0.
Reductions, and what “tight” means
A security theorem in this tradition has the following form.
If there is an adversary A that runs in time t and breaks scheme X with advantage ε, then there is an algorithm B that runs in time t′ and solves problem Y with advantage ε′.
The proof constructs B from A: B receives an instance of Y, builds an imitation of the attack game around it, runs A inside, and turns A’s success into a solution. That construction proves an implication. The security conclusion follows by contraposition, or directly from the concrete upper bound the proof gives on A’s advantage: if Y is assumed hard for algorithms with B’s resources, A cannot succeed with more than the corresponding advantage. Nothing in the proof shows that Y is hard.
What matters is the relation between (t, ε) and (t′, ε′). If t′ is close to t and ε′ close to ε, the reduction is tight, and parameters that make Y hard give comparable assurance for X; a large loss can leave little assurance at deployed parameters. Tightness concerns the loss in the direction proved, not attacks the model excludes.
A standard example is the full-domain-hash signature scheme, which signs m by applying a trap-door permutation’s inverse to a hash H(m), with H modelled as a random oracle (see below). Boneh and Shoup’s Theorem 13.3 states that for an adversary A making at most Q_ro random-oracle queries and Q_s signing queries there is an inverting adversary B, “an elementary wrapper around A” (roughly, A’s running time plus bookkeeping per query), with
SIGadv[A] ≤ (Q_ro + 1) · OWadv[B],
where SIGadv is the probability that A wins the signature game (Attack Game 13.1) and OWadv the probability that B inverts the permutation (Attack Game 10.2).8
(The book’s informal discussion before Theorem 13.4 quotes a slightly different factor, Q_ro + Q_s + 1; the theorem’s inequality is the one to use.) For an illustration, assume that every inverting algorithm with B’s resources has advantage at most 2^-100, and allow the forger 2^60 hash evaluations, which it can compute offline. The inequality then bounds the forger’s advantage only by about 2^60 × 2^-100 = 2^-40. For the RSA full-domain-hash scheme S_RSA-FDH with parameters (ℓ, e), whose hash maps into {1, …, 2^(2ℓ−2)} and is modelled as a random oracle, Theorem 13.4 assumes RSA is hard to invert for (ℓ, e) and replaces the factor by 2.72 · (Q_s + 1): it depends on signing queries, which need the signer’s participation, not on hash queries.8 A proof with a loss of 2^60 does not support parameters sized for the underlying problem alone.
Zero knowledge
Goldwasser, Micali and Charles Rackoff asked how much a proof reveals. Their “The Knowledge Complexity of Interactive Proof Systems” was presented at STOC in 1985 and published, revised, in the SIAM Journal on Computing in February 1989.15 The abstract begins: “Usually, a proof of a theorem contains more knowledge than the mere fact that the theorem is true.” A Hamiltonian tour proves a graph Hamiltonian, but “this seems to contain more knowledge than the single bit Hamiltonian/non-Hamiltonian.”15
An interactive proof is a conversation between a powerful prover and a polynomial-time verifier who may toss coins and keep them secret. In general, a true statement convinces the verifier with high probability and a false one convinces it only with small probability.15
Their §5 example is quadratic residuosity: the prover shows that y is a square modulo x without revealing a square root. The verifier first checks that y is a unit modulo x and halts otherwise. Then, for m rounds, where m is the length of x:15
- The prover sends a random square u among the units modulo x; the verifier checks that u is a unit.
- The verifier sends a random bit.
- The prover sends a random square root w of u (bit 0) or of
u · y mod x(bit 1). - The verifier checks that w is a unit and that
w^2 mod xequals u oru · yaccordingly.
If y is a square, the honest prover always passes, so here completeness is perfect. If y is a unit but not a square, u and u · y cannot both be squares, so a cheating prover can answer at most one challenge per round, and survives all m rounds with probability at most 1/2^m.15 The unit checks matter: u = 0, for instance, would let a cheat answer both challenges.
Why does the verifier learn nothing? What it sees, even if it cheats, “should be something which the verifier could have computed for himself, merely from the fact that” the statement is true.15 Formally the verifier’s view is its random tape, its auxiliary input and the messages it receives, and a protocol is zero-knowledge if for every efficient verifier there is a simulator that, given a true statement and the auxiliary input the verifier would receive, runs in expected polynomial time and produces output distributed exactly (perfect), almost exactly (statistical) or indistinguishably to efficient observers (computational) like that view.15 In GMR’s formal protocol the verifier’s challenge is the first bit of whatever string it sends, or 0 if the string is empty, so every reply yields a bit. For QR the simulator fixes the verifier’s random tape and builds the view round by round: guess the challenge bit, pick a random unit w, set u = w^2 (guess 0) or u = w^2 · y^-1 (guess 1), and run the verifier from its saved state on u. If the verifier asks for the other bit, restore the state and retry the round; each try succeeds with probability one half. The view this produces has exactly the real distribution and needs no square root of y. Theorem 1 states that the protocol is a perfectly zero-knowledge proof system for QR.15
Goldreich, Micali and Wigderson generalised the idea at FOCS in October 1986. Their Theorem 5 states that if a secure probabilistic encryption exists, every NP language has a zero-knowledge interactive proof system; the zero knowledge is computational, since the definition requires only that the real and simulated distributions be “polynomially indistinguishable”.16
Chosen-ciphertext attacks and non-malleability
Under chosen-plaintext attack the adversary can only encrypt; real adversaries can often submit ciphertexts and observe the response. Bellare, Desai, Pointcheval and Rogaway’s “Relations Among Notions of Security for Public-Key Encryption Schemes” (CRYPTO 1998; full version 2001) organised the definitions as pairs of a goal and an attack.14
The two goals:
- IND (indistinguishability), from Goldwasser and Micali: the adversary cannot learn information about the plaintext of a challenge ciphertext.
- NM (non-malleability), from Dolev, Dwork and Naor: given a challenge ciphertext y, the adversary cannot output a different ciphertext y′ whose plaintext is “meaningfully related” to the original, for example x′ = x + 1, with better than negligible advantage over a baseline in which the related plaintext is measured against an independent message drawn from the same distribution.14
The three attacks, in increasing strength:
- CPA: the adversary has the public key.
- CCA1 (non-adaptive chosen-ciphertext, after Naor and Yung): the adversary may also query a decryption oracle, but only before it sees the challenge.
- CCA2 (adaptive chosen-ciphertext, after Rackoff and Simon): the adversary may query the decryption oracle after seeing the challenge, on anything except the challenge itself.14
In their formalisation the decryption algorithm returns either a message or a special symbol ⊥ marking the ciphertext invalid, so a rejection is part of what the adversary sees.14 The six combinations are IND-CPA, IND-CCA1, IND-CCA2, NM-CPA, NM-CCA1 and NM-CCA2. For every pair, the paper proves either an implication or a separation. The non-trivial implication is that IND-CCA2 implies NM-CCA2; the separations are that IND-CCA1 does not imply NM-CPA, NM-CPA does not imply IND-CCA1, and NM-CCA1 does not imply NM-CCA2. Since IND-CCA2 implies all five other notions, the authors suggested that “CCA” should in future mean the adaptive version.14
Textbook RSA shows why. In the IND-CCA2 game against the toy key, the adversary submits m0 = 65 and m1 = 66 and receives c = 2790. It may not ask for the decryption of 2790, but it may ask for the decryption of anything else. It submits c · 2^17 mod 3233 = 3017, receives 130, divides by 2 and gets 65. It guesses b correctly every time. Malleability turns an oracle that refuses to decrypt the challenge into one that decrypts it anyway.
Bleichenbacher: when a one-bit oracle is enough
In 1998 Daniel Bleichenbacher published a practical adaptive chosen-ciphertext attack on RSA encryption formatted by PKCS #1 version 1.5.17 The format adds a fixed header and random padding before RSA encryption, and a decrypted block in this format is “PKCS conforming”. His oracle returns one bit: whether a chosen ciphertext decrypts to a conforming block. Because RSA is malleable, the attacker can submit ciphertexts related to the target, each chosen after seeing the earlier answers, and every answer leaks a little about the target plaintext until it is determined.17 He estimated that “Typically, 2^20 chosen ciphertexts will be sufficient”; in his experiments, against an oracle he implemented himself with 512-bit and 1024-bit keys, the attack needed between 300 thousand and 2 million.17 In §5 he analysed the SSL 3.0 handshake, in which a server that finds the decrypted block not PKCS conforming sends an alert and closes the connection, so that the protocol’s error behaviour could supply the oracle, and he discussed a countermeasure. He observed that a chosen-ciphertext weakness “often is considered to be only a theoretical weakness” but that this one was practical.17
The relations paper classifies the result as showing that RSA PKCS #1 does not achieve IND-CCA1, and says it reinforces “the danger of assuming anything beyond IND-CPA which has not been demonstrated.”14 The published attack itself queries after the challenge, so what it demonstrates directly is a failure under adaptive attack. The oracle recurred: Böck, Somorovsky and Young’s ROBOT (full paper at USENIX Security 2018) describes “the return of a 19-year-old vulnerability” exploitable with slight variations against many HTTPS hosts, with vulnerable implementations from at least seven vendors, and vulnerable subdomains found under 27 of the Alexa top 100 domains.18 In each case the issue was observable validity leakage, and the mitigation was to stop it being observable.
The random oracle method
Many efficient schemes use a hash function in ways that are hard to analyse from standard assumptions about hash functions. In 1993 Mihir Bellare and Phillip Rogaway proposed a method with a stated cost.19
- Define the security goal in a model where all parties, including the adversary, share a random oracle R: a public function that answers each new query with an independent uniformly random value and repeats its earlier answer for a repeated query.
- Design an efficient protocol for that model.
- Prove it meets the definition in that model.
- Replace the oracle by a concrete function h, such as a suitably used hash function.19
The caveat is in the paper: “all claims of provable security are claims made within the random oracle model, and instantiating the oracle with h is only a heuristic whose success we trust from experience.”19 They note that h “cannot really be like a random function because it has a short description”, and that “It is easy to construct unnatural problems or protocols whose description and goals depend explicitly on h”, secure with the oracle and broken once h replaces it. For the heuristic step they ask that problem and protocol be “independent” of the hash function, a notion that “will not be formalized”.19 One of their examples encrypts with a trap-door permutation f, a random generator G with arbitrarily long output, and a random hash H: with r sampled from f’s domain by the permutation’s sampling algorithm, E(x) = f(r) || (x XOR G(r)) || H(r || x), where the XOR uses the first |x| bits of G(r) and || is concatenation. §3.2 and Appendix A prove it secure against chosen-ciphertext attack in the model.19
In 1998 Ran Canetti, Oded Goldreich and Shai Halevi showed that no general theorem can justify step 4: “There exist signature and encryption schemes that are secure in the Random Oracle Model, but for which any implementation of the random oracle results in insecure schemes.”20 Their schemes are deliberately unnatural, and they do not claim the result holds for schemes in the literature; the lesson they draw is that security in the model “does not necessarily imply that a particular implementation of it (in the real world) is secure.”20
The two results are compatible. Bellare and Rogaway claimed proofs inside the model and called the replacement a heuristic; Canetti, Goldreich and Halevi showed that the heuristic cannot be a theorem for every scheme. Bellare and Rogaway’s thesis was that “significant assurance benefits nonetheless remain”.19 A broader criticism, about how reductions in general are stated and read, came from Neal Koblitz and Alfred Menezes in “Another Look at ‘Provable Security’” (first posted 2004): in some cases “intuitive but convincing arguments” reject “the conclusions suggested by the formal terminology and ‘proofs’”, in others the formalism agrees with common sense, and “the theorem-proof paradigm of theoretical mathematics is of limited relevance here and often leads to papers that are confusing and misleading.”21
The standard block cipher
Bulk encryption usually uses a symmetric scheme, very often a block cipher (a keyed permutation on fixed-size blocks) in a mode of operation, under a key that is pre-shared or set up by a public-key protocol. The standard block cipher is AES.
How AES was chosen
In 1997 the US National Institute of Standards and Technology (NIST) started a public competition for a new block cipher. On 20 August 1998 it announced 15 candidates; after public analysis it chose five finalists (MARS, RC6, Rijndael, Serpent and Twofish), and in 2000 it selected Rijndael, designed by Joan Daemen and Vincent Rijmen.2223 FIPS 197 was published on 26 November 2001 and updated on 9 May 2023; the update “makes no technical changes to the algorithm”.23
How AES works, in a few lines
FIPS 197 specifies three members of the Rijndael family. All three transform 128-bit blocks; they differ in key length and number of rounds.23
| key length | block size | rounds | |
|---|---|---|---|
| AES-128 | 128 bits | 128 bits | 10 |
| AES-192 | 192 bits | 128 bits | 12 |
| AES-256 | 256 bits | 128 bits | 14 |
The 16-byte block forms a 4 by 4 byte array, the state. After an initial round-key addition, each round applies:23
- SubBytes: replace each byte through a fixed substitution table, the S-box. The S-box maps a byte to its multiplicative inverse in the field of 256 elements (the zero byte, which has no inverse, is mapped to zero at this step) and then applies a fixed affine transformation to the bits. It is the only non-linear transformation in the round.
- ShiftRows: rotate the rows of the state by different offsets, so bytes from one column move into different columns.
- MixColumns: multiply each column by a fixed matrix over the same field, mixing the four bytes of the column.
- AddRoundKey: XOR in a 128-bit round key.
The final round omits MixColumns.23 The round keys come from a separate key expansion, which uses the same S-box on words of the key schedule.23
How a block cipher is judged
A block cipher is modelled as a pseudorandom permutation: under a random secret key, no efficient adversary can tell it apart from a uniformly random permutation of the blocks, with more than negligible advantage.8 For full AES that property is a working assumption, not a theorem. Proofs exist at other levels: for a mode of operation, the typical theorem bounds an attack on the mode by the advantage against the block cipher as a pseudorandom permutation plus terms that depend on the amount of data.8
The evidence for the assumption about AES itself is cryptanalysis. NIST’s 2001 report on the competition is frank about this. NIST “relied on the public security analysis conducted by the cryptographic community”; at the time of the report no attacks had been reported against any finalist, only against variants with reduced or simplified rounds; and therefore “the determination of the level of security provided by the finalists is largely guesswork, as in the case of any unbroken cryptosystem.”22 To compare candidates NIST used a “security margin”, roughly the extent to which the full number of rounds exceeds the largest number that had been attacked. Rijndael “appears to have an adequate security margin”, the report concluded, while noting criticism that its margin was “on the low side among the finalists” and that its mathematical structure might lead to attacks.22 Those are judgements from the evaluation period; later confidence rests on continued public analysis.
Modes, briefly
A mode of operation uses the block cipher on messages of any length, and its nonce or initialisation-vector requirements depend on the mode. For Galois/Counter Mode, NIST’s mode documentation emphasises “the critical importance of the requirement for the uniqueness of the IVs”.24 If encryption is deterministic given key, nonce and associated data, the IND-CPA equality test works only for an adversary who can obtain an encryption of a candidate message under the same key, nonce and associated data as the challenge. Nonce-based CPA security (Attack Game 5.3, §5.5) forbids exactly that, since every query must use a fresh nonce; its guarantee therefore assumes nonces are never repeated under a key, unlike public-key IND-CPA, where encryption must be randomised.8 Authenticated encryption (AE) adds a second guarantee. Boneh and Shoup define it as semantic security under chosen-plaintext attack plus ciphertext integrity: no efficient adversary can produce a new ciphertext that decrypts validly. Their Theorem 9.1 shows that AE security implies chosen-ciphertext security.8 AEAD (authenticated encryption with associated data) also authenticates data sent unencrypted, such as headers.8 These guarantees hold under stated conditions, including the mode’s nonce rules and key-usage limits.
Proofs and implementations
A running program has timing, power draw and cache behaviour that no game so far includes, and error behaviour richer than the single rejection symbol of the chosen-ciphertext games.14 The information theory reader treats side channels, including power analysis, as unintended communication channels; the concern here is how they relate to proofs.
Kocher’s timing attack
Paul Kocher’s “Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems” (CRYPTO 1996) begins from a plain observation: “Cryptosystems often take slightly different amounts of time to process different inputs”, because of optimisations that skip unnecessary operations, branches, cache hits, and instructions such as multiplication and division that run in non-fixed time.25
The attack targets modular exponentiation with a secret exponent, the core of RSA decryption and Diffie-Hellman. In a simple square-and-multiply implementation, whether a modular multiplication is performed at a given step depends on a bit of the secret exponent, and how long that multiplication takes depends on the data being multiplied. Kocher’s attacker measures the total time of many private-key operations on inputs it knows, and works through the exponent bit by bit. For each candidate value of the next bit it simulates the computation so far and predicts the timing contribution, and compares the predictions with the measurements statistically. In the paper’s analysis, subtracting the predicted time of correctly simulated steps tends to reduce the variance of the remaining time, while a wrong guess makes later simulated values “essentially random” and tends to increase it.25 A lower variance is evidence for a guess, not a guarantee. Wrong guesses can be noticed and undone, which Kocher calls the attack’s “error-detection property”.25
Two obvious defences are insufficient. Always performing the optional multiplication does not make the code constant-time, since “timing characteristics from the squaring operation and subsequent loop iterations can be exploited.” Random delays only raise the number of samples needed, roughly “as the square of the timing noise” (his illustrative example, with assumed figures, goes from 1,000 measurements to about 10^7).25 The defence he recommended is blinding: randomise the value being exponentiated before the operation and remove the randomisation afterwards, so that the attacker no longer knows what is being computed.25
Remote timing, and the AES tables
In 2003 David Brumley and Dan Boneh published a separate result: a remote timing attack on OpenSSL’s optimised RSA implementation. Against an OpenSSL 0.9.7 server, “using about a million queries we can remotely extract a 1024-bit RSA private key”, in about two hours; their attacking machine and server were on a local campus network, in different buildings with three routers and multiple switches between them.26 The paper notes that blinding was available in OpenSSL “but not enabled by default in versions prior to 0.9.7b”, and that blinding in 0.9.7b defeats the attack.26
AES shows a related gap. NIST’s 2001 report summarised the vulnerability of basic operations to timing and power attacks and listed “Table lookup: not vulnerable to timing attacks”, while noting that such attacks are “implementation-dependent”.22 In 2004 Daniel Bernstein showed “that a simple cache-timing attack against AES software reveals some key bits”, because “it is difficult for software to perform an array lookup in time independent of the array index”.27 The 2023 update of FIPS 197 expanded its existing discussion of implementation attacks (§6.4; Appendix D, item 21). It now says that an implementation “may leak key-dependent information through side channels, such as the time taken to perform a computation”, and that “cache-timing attacks may affect AES implementations on software platforms that use a cache to accelerate the access to data from main memory.” It also says such considerations are “outside of the scope of this document”.23
What a reduction does not cover
A reduction counts the algorithmic cost of the adversary and of the algorithm built from it. It does not, in the standard games, let the adversary observe the physical running time of the honest party’s code. The games fix what the adversary sees; in IND-CCA2 that is ciphertexts, decryptions and a rejection symbol for invalid ciphertexts.14 An implementation that reveals more, such as how long a rejection took, which check failed or how much power a chip drew, gives the attacker information the theorem never considered. Explicit leakage models exist: Dziembowski and Pietrzak construct a stream cipher whose implementation remains secure when the adversary obtains adversely chosen information about its internal state, bounded in each period of computation.28 A proof still covers only the leakage its own model includes.
Two kinds of failure should be kept apart. Some schemes fail the abstract definition: textbook RSA is deterministic and malleable, and no implementation care makes it IND-CCA2. Others meet a definition and fail because the implementation exposes behaviour the model omits. Boneh’s survey found that none of twenty years of attacks on the RSA function was “devastating”; “They mostly illustrate the dangers of improper use of RSA.”11 Among the implementation attacks it covers is the Boneh-DeMillo-Lipton fault attack: if exactly one of the two half-computations of a signature computed with the Chinese remainder theorem goes wrong, and the attacker knows the exact message representative signed (no random padding), one faulty signature reveals a factor of the modulus. Random padding defeats this version, as does checking each signature before release.11
The failures in this reader fall into recognisable groups: deterministic or malleable encodings where a stronger definition was needed (textbook RSA, PKCS #1 v1.5 encryption), reuse of one-time values, oracles from observable validity checks (Bleichenbacher, ROBOT), and physical leakage (timing, cache behaviour, faults).
What a quantum computer changes
In 1994 Peter Shor gave quantum algorithms for factoring and discrete logarithms using a number of steps polynomial in the input size, on “a hypothetical quantum computer”; the expanded version was posted to arXiv in August 1995 and published in the SIAM Journal on Computing in October 1997.29 For factoring, the quantum part finds the order r of an element x of the multiplicative group modulo n, the least r with x^r ≡ 1 (mod n). The classical reduction then computes gcd(x^(r/2) − 1, n), which fails to give a non-trivial factor only if r is odd or x^(r/2) ≡ −1 (mod n). For an odd n with k distinct odd prime factors, a unit x chosen uniformly at random and its exact order r, this succeeds with probability at least 1 − 1/2^(k−1) over the choice of x; that figure does not include the separate chance that the quantum measurement yields r, and on failure one repeats.29 A quantum computer able to run this at cryptographic sizes would break RSA and Diffie-Hellman over the groups Shor treats.
On 13 August 2024 NIST announced approval of three post-quantum standards.30 FIPS 203 specifies ML-KEM, a key-encapsulation mechanism whose security “is related to the computational difficulty of the Module Learning with Errors problem”; FIPS 204 specifies ML-DSA, a module-lattice signature; FIPS 205 specifies SLH-DSA, a stateless hash-based signature based on SPHINCS+.313233 NIST says ML-KEM and ML-DSA are “believed to be secure, even against adversaries” with quantum computers.3132 “Believed” carries the same weight as before. The migration itself is the subject of Harvest now, decrypt later: governing the post-quantum cryptography migration.
The moral character of cryptographic work
Phillip Rogaway, co-author of the random oracle and relations papers, gave an IACR Distinguished Lecture at Asiacrypt 2015, “The Moral Character of Cryptographic Work”. It opens: “Cryptography rearranges power: it configures who can do what, from what. This makes cryptography an inherently political tool, and it confers on the field an intrinsically moral dimension.”34 His questions, he writes, “came to a head with the Snowden disclosures of 2013”; he argues that the field’s inability to address mass surveillance is a failure of the field, and that much academic work is “crypto-for-crypto”, which “starves crypto-for-privacy”.34
What a practitioner should take from it
- “Provably secure” is conditional. Ask: under which definition (IND-CPA, IND-CCA2, unforgeability)? Reduced to which assumption? Standard or random oracle model? How tight, and were parameters sized for the loss?
- A worked reading. RFC 9180, Hybrid Public Key Encryption (February 2022), states its goals and limits on the page.35 Its §9.1 states the goal, “Confidentiality of the sender’s messages against chosen ciphertext attacks”, and lists non-goals, among them “no hiding of the plaintext length” and “no protection against bad ephemeral randomness”. §9.2 then sets requirements on the KEM component.
- Determinism, under the game in question. A deterministic public-key scheme cannot be IND-CPA secure. A nonce-based symmetric scheme is deterministic given key, nonce and associated data, and is distinguishable only if the adversary can get a candidate encrypted under the same key, nonce and associated data as the challenge, which nonce-based CPA security rules out by requiring fresh nonces.8
- Error handling is part of the cryptography. Any distinguishable response to a malformed ciphertext (error code, timing, dropped connection) is a potential oracle.
- Perfect secrecy needs the key material. At least as many possible keys as possible messages, counting all messages protected together under one key as a single combined message (Shannon, §10);3 the one-time pad meets this with uniform key bits as long as the data, used once.
Annotated reference list
- Kerckhoffs (1883). The six desiderata; the second at p. 12.2
- Shannon (1949). §10 and Theorem 6 (perfect secrecy, key-count bound); §§11–12 (equivocation); §§14–15 (random cipher, unicity distance); Part III (practical secrecy).3 The 1948 paper supplies the entropy framework.4
- Diffie and Hellman (1976). §III (public key distribution and its stated limits).5
- Rivest, Shamir and Adleman (1978). Factoring breaks it; whether breaking it requires factoring is open.109
- Goldwasser and Micali (1982; 1984). 1982 §§2.5 and 4 (definition, scheme); 1984 §5 and Theorem 5.2 (polynomial and semantic security).1213
- Goldwasser, Micali and Rackoff (1985; 1989). §3 (definitions), §5 and Theorem 1 (QR protocol); Goldreich, Micali and Wigderson, Theorem 5 (all of NP).1516
- Bellare and Rogaway (1993) §1; Canetti, Goldreich and Halevi (1998), Informal Theorem 1.2; Koblitz and Menezes (2004).192021
- Bellare, Desai, Pointcheval and Rogaway (1998/2001). §1.2 and Figure 1 (the relations).14
- Bleichenbacher (1998) §3 (attack), §6 (experiments); ROBOT (2018).1718
- FIPS 197 (2001, updated 2023). §5 and Table 3 (algorithm); §6.4 and Appendix D, item 21 (the 2023 change). Nechvatal et al. (2001) §3.2 (security) and §3.6 (implementation attacks).2322
- Kocher (1996) §§2–4 and 10; Brumley and Boneh (2003) §§1 and 6; Bernstein (2004) §§1 and 3; Boneh (1999) §5.25262711
- Shor (1994–97) §5; FIPS 203–205 (2024).2930313233
- Boneh and Shoup (2023). Attack Game 11.1, §11.3.1, Definitions 9.1–9.2, Theorem 9.1, Theorems 13.3–13.4, Attack Game 10.5.8
Conclusion
“Secure” has a precise meaning only relative to a stated adversary, a stated goal and a stated tolerance. Shannon gave the unconditional version and its cost: with invertible encryption under a shared key, at least as many possible keys as possible messages, counted over everything the key protects (§10).3 Public-key cryptography made it possible to agree on a key without a pre-shared secret, in the bare Diffie-Hellman case only against a passive eavesdropper,8 by assuming that certain computations are infeasible. Later work gave the schemes checkable definitions: games, advantages, simulators and reductions. Each theorem is conditional on its own assumptions, which may include the hardness of a specific problem, an idealised random oracle, and the set of observations its game allows. Full AES is assumed to be a pseudorandom permutation on the strength of public cryptanalysis. The failures described here include schemes that never met the definition they were used for, such as textbook RSA, and implementations that exposed behaviour the games did not model, from Kocher’s timing attack to Bleichenbacher’s padding oracle. A practitioner should ask for the definition, the assumption, the model and the implementation evidence, and treat a missing answer as a gap.
Footnotes
- Russell Impagliazzo, A Personal View of Average-Case Complexity, April 17, 1995, §1. https://www.cs.columbia.edu/~tal/3261/Impagliazzo5worlds.pdf (opens in a new tab) ↩
- Auguste Kerckhoffs, La cryptographie militaire, Journal des sciences militaires IX, pp. 5–38, January 1883 (the six desiderata are on p. 12), and pp. 161–191, February 1883; text hosted by Fabien Petitcolas, with the desiderata at https://www.petitcolas.net/kerckhoffs/la_cryptographie_militaire_i.htm#desiderata (opens in a new tab). https://www.petitcolas.net/kerckhoffs/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- C. E. Shannon, Communication Theory of Secrecy Systems, Bell System Technical Journal 28(4), pp. 656–715, October 1949. https://pages.cs.wisc.edu/~rist/642-spring-2014/shannon-secrecy.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15
- C. E. Shannon, A Mathematical Theory of Communication, Bell System Technical Journal 27, pp. 379–423 and 623–656, July and October 1948 (reprinted with corrections), DOI 10.1002/j.1538-7305.1948.tb01338.x. https://people.math.harvard.edu/~ctm/home/text/others/shannon/entropy/entropy.pdf (opens in a new tab) ↩1 ↩2
- W. Diffie and M. E. Hellman, New Directions in Cryptography, IEEE Transactions on Information Theory IT-22(6), pp. 644–654, November 1976, DOI 10.1109/TIT.1976.1055638. https://ee.stanford.edu/~hellman/publications/24.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11
- Ralph C. Merkle, Publishing a new idea (history of the CS244 proposal of autumn 1974 and the 1975 submission to Communications of the ACM), author’s website. https://www.ralphmerkle.com/1974/ (opens in a new tab) ↩
- Ralph C. Merkle, Secure Communications Over Insecure Channels, Communications of the ACM 21(4), pp. 294–299, April 1978 (received August 1975, revised September 1977), DOI 10.1145/359460.359473. https://www.ralphmerkle.com/1974/PuzzlesAsPublished.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Dan Boneh and Victor Shoup, A Graduate Course in Applied Cryptography, version 0.6, January 2023; Definition 4.1, Chapter 9, Attack Game 10.5, Attack Game 11.1, Theorems 13.3–13.4. https://toc.cryptobook.us/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17
- Dan Boneh and Ramarathnam Venkatesan, Breaking RSA May Be Easier Than Factoring (extended abstract), author-hosted. https://crypto.stanford.edu/~dabo/pubs/papers/no_rsa_red.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- R. L. Rivest, A. Shamir and L. Adleman, A Method for Obtaining Digital Signatures and Public-Key Cryptosystems, Communications of the ACM 21(2), pp. 120–126, February 1978 (received April 4, 1977), DOI 10.1145/359340.359342. https://people.csail.mit.edu/rivest/Rsapaper.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Dan Boneh, Twenty Years of Attacks on the RSA Cryptosystem, Notices of the American Mathematical Society 46(2), pp. 203–213, 1999, §5. https://crypto.stanford.edu/~dabo/papers/RSA-survey.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Shafi Goldwasser and Silvio Micali, Probabilistic Encryption & How to Play Mental Poker Keeping Secret All Partial Information, Proceedings of the 14th Annual ACM Symposium on Theory of Computing, pp. 365–377, May 1982, DOI 10.1145/800070.802212. https://www.cs.purdue.edu/homes/ninghui/readings/Qual2/Goldwasser-Micali82.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
- Shafi Goldwasser and Silvio Micali, Probabilistic Encryption, Journal of Computer and System Sciences 28(2), pp. 270–299, April 1984 (received February 3, 1983), DOI 10.1016/0022-0000(84)90070-9, §5. https://mit6875.github.io/PAPERS/probabilistic_encryption.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- M. Bellare, A. Desai, D. Pointcheval and P. Rogaway, Relations Among Notions of Security for Public-Key Encryption Schemes, CRYPTO ‘98, LNCS 1462; full version June 2001, author-hosted at https://cseweb.ucsd.edu/~mihir/papers/relations.pdf (opens in a new tab); IACR ePrint 1998/021. https://eprint.iacr.org/1998/021 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
- Shafi Goldwasser, Silvio Micali and Charles Rackoff, The Knowledge Complexity of Interactive Proof Systems, SIAM Journal on Computing 18(1), pp. 186–208, February 1989 (received August 26, 1985), DOI 10.1137/0218012; preliminary version in Proceedings of the 17th ACM Symposium on Theory of Computing, pp. 291–304, 1985, DOI 10.1145/22145.22178. https://people.csail.mit.edu/silvio/Selected%20Scientific%20Papers/Proof%20Systems/The_Knowledge_Complexity_Of_Interactive_Proof_Systems.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
- Oded Goldreich, Silvio Micali and Avi Wigderson, Proofs that Yield Nothing But their Validity and a Methodology of Cryptographic Protocol Design (extended abstract), 27th Annual Symposium on Foundations of Computer Science, pp. 174–187, October 1986, DOI 10.1109/SFCS.1986.47; Theorem 5. https://www.math.ias.edu/~avi/PUBLICATIONS/MYPAPERS/GMW86/GMW86.pdf (opens in a new tab) ↩1 ↩2
- Daniel Bleichenbacher, Chosen Ciphertext Attacks Against Protocols Based on the RSA Encryption Standard PKCS #1, Advances in Cryptology, CRYPTO ‘98, LNCS 1462, pp. 1–12, 1998, DOI 10.1007/BFb0055716. https://archiv.infsec.ethz.ch/education/fs08/secsem/bleichenbacher98.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Hanno Böck, Juraj Somorovsky and Craig Young, The ROBOT Attack: Return Of Bleichenbacher’s Oracle Threat, project page (full paper at USENIX Security 2018). https://robotattack.org/ (opens in a new tab) ↩1 ↩2
- Mihir Bellare and Phillip Rogaway, Random Oracles are Practical: A Paradigm for Designing Efficient Protocols, Proceedings of the First ACM Conference on Computer and Communications Security, November 1993 (author-hosted version dated August 2, 2021). https://cseweb.ucsd.edu/~mihir/papers/ro.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
- Ran Canetti, Oded Goldreich and Shai Halevi, The Random Oracle Methodology, Revisited, arXiv cs/0010019, October 2000 (STOC 1998, pp. 209–218; Journal of the ACM 51(4), pp. 557–594, 2004, DOI 10.1145/1008731.1008734). https://arxiv.org/abs/cs/0010019 (opens in a new tab) ↩1 ↩2 ↩3
- Neal Koblitz and Alfred Menezes, Another Look at “Provable Security”, IACR Cryptology ePrint Archive 2004/152, received July 7, 2004, last revised August 15, 2011. https://eprint.iacr.org/2004/152 (opens in a new tab) ↩1 ↩2
- James Nechvatal, Elaine Barker, Lawrence Bassham, William Burr, Morris Dworkin, James Foti and Edward Roback, Report on the Development of the Advanced Encryption Standard (AES), Journal of Research of the National Institute of Standards and Technology 106(3), pp. 511–577, May–June 2001. https://nvlpubs.nist.gov/nistpubs/jres/106/3/j63nec.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- National Institute of Standards and Technology, FIPS 197, Advanced Encryption Standard (AES), published November 26, 2001, updated May 9, 2023; text of the update at https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.197-upd1.pdf (opens in a new tab). https://csrc.nist.gov/pubs/fips/197/final (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
- National Institute of Standards and Technology, Block Cipher Techniques: Current Modes (SP 800-38A to 800-38G; SP 800-38D on GCM). https://csrc.nist.gov/projects/block-cipher-techniques/bcm/current-modes (opens in a new tab) ↩
- Paul C. Kocher, Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems, Advances in Cryptology, CRYPTO ‘96, Lecture Notes in Computer Science, pp. 104–113, 1996, DOI 10.1007/3-540-68697-5_9. https://paulkocher.com/doc/TimingAttacks.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- David Brumley and Dan Boneh, Remote Timing Attacks are Practical, Proceedings of the 12th USENIX Security Symposium, 2003; journal version Computer Networks 48(5), pp. 701–716, August 2005, DOI 10.1016/j.comnet.2005.01.010. https://crypto.stanford.edu/~dabo/papers/ssl-timing.pdf (opens in a new tab) ↩1 ↩2 ↩3
- Daniel J. Bernstein, Cache-timing attacks on AES, version dated November 21, 2004. https://cr.yp.to/antiforgery/cachetiming-20041121.pdf (opens in a new tab) ↩1 ↩2
- Stefan Dziembowski and Krzysztof Pietrzak, Leakage-Resilient Cryptography in the Standard Model, IACR Cryptology ePrint Archive 2008/240 (abstract). https://eprint.iacr.org/2008/240 (opens in a new tab) ↩
- Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, arXiv quant-ph/9508027, submitted August 30, 1995 (expanded version of a paper in the Proceedings of the 35th Annual Symposium on Foundations of Computer Science, November 1994; SIAM Journal on Computing 26(5), pp. 1484–1509, October 1997, DOI 10.1137/S0097539795293172). https://arxiv.org/abs/quant-ph/9508027 (opens in a new tab) ↩1 ↩2 ↩3
- National Institute of Standards and Technology, Computer Security Resource Center news, approval of FIPS 203, 204 and 205, August 13, 2024. https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved (opens in a new tab) ↩1 ↩2
- National Institute of Standards and Technology, FIPS 203, Module-Lattice-Based Key-Encapsulation Mechanism Standard, August 13, 2024. https://csrc.nist.gov/pubs/fips/203/final (opens in a new tab) ↩1 ↩2 ↩3
- National Institute of Standards and Technology, FIPS 204, Module-Lattice-Based Digital Signature Standard, August 13, 2024. https://csrc.nist.gov/pubs/fips/204/final (opens in a new tab) ↩1 ↩2 ↩3
- National Institute of Standards and Technology, FIPS 205, Stateless Hash-Based Digital Signature Standard, August 13, 2024. https://csrc.nist.gov/pubs/fips/205/final (opens in a new tab) ↩1 ↩2
- Phillip Rogaway, The Moral Character of Cryptographic Work, IACR Distinguished Lecture at Asiacrypt 2015, December 2015 (minor revisions March 2016), IACR ePrint 2015/1162; author-hosted at https://web.cs.ucdavis.edu/~rogaway/papers/moral-fn.pdf (opens in a new tab). https://eprint.iacr.org/2015/1162 (opens in a new tab) ↩1 ↩2
- R. Barnes, K. Bhargavan, B. Lipp and C. Wood, RFC 9180, Hybrid Public Key Encryption, IRTF, February 2022, §9.1. https://datatracker.ietf.org/doc/html/rfc9180 (opens in a new tab) ↩

SecSIG