Random Oracle Model
In the Random Oracle Model (ROM), every party, the adversary included, has oracle access to one function sampled uniformly at random, and a scheme is secure in the ROM if for all efficient the advantage of , with probability taken over the choice of and the coins of the game, is negligible — BR93. Any polynomial output length , and any constant or polynomial number of independent oracles, follow by domain separation, e.g. truncated to bits, with and the block index encoded in bits each — standard.
When the ROM is the only hypothesis of a result (, or a barrier whose only hypothesis is the ROM), the adversary is computationally unbounded and limited only in its oracle queries: a notion stated for efficient adversaries is read for adversaries making queries to , parallel time in a sequential notion is counted in rounds of queries, and a notion that fixes its own query count (Merkle puzzles) keeps it — standard. On a result proved in the ROM from computational hypotheses, adversaries are efficient algorithms with oracle access to , as in BR93.
The oracle can equivalently be sampled lazily, from a table that starts empty and is shared by all parties:
\begin{algorithm}
\algname{Oracle}
\caption{$H(x)$}
\begin{algorithmic}
\If{$T[x] = \bot$}
\State $T[x] \getsr \bits^\secpar$
\EndIf
\Return $T[x]$
\end{algorithmic}
\end{algorithm}
Lazy sampling gives every adversary, adaptive or not, the same view as a uniform fixed in advance, because the values of a uniform at distinct points are independent and uniform: a first query to receives a uniform value independent of all earlier answers, and a repeated query the earlier answer — standard. GB08 (§10.5.8) describe the random oracle as this table-keeping process.
Replacing by a concrete hash function and taking the ROM proof as evidence of security for the resulting scheme is the design paradigm of BR93; CGH98 call it the random-oracle methodology and show that it can fail.
The ROM is related to the Random Oracle Hypothesis of BG81, which conjectured that complexity-class relationships holding for almost all relativized worlds also hold unrelativized. The hypothesis is false; one counterexample, not the first, is for almost all oracles — CCG+94.
Programmability
A reduction or simulator programs the random oracle when it answers the adversary’s queries to with values of its choice, for instance to embed a challenge or to make a simulated transcript consistent; the adversary’s success probability carries over only while the chosen values are distributed, in its view, as those of a random oracle — standard. In the ROM as defined above the reduction simulates for the adversary, so it may program it — AB13. The Pointcheval–Stern proof for Fiat–Shamir signatures re-programs the oracle, and if OMDL is hard, no single-instance reduction that does not program it proves Schnorr signatures as hard as the discrete-logarithm problem (No single-instance reduction from DLOG to Schnorr signatures in the non-programmable ROM) — FF13.
In the non-programmable random oracle model, is a uniformly random function fixed outside the reduction or simulator, which has oracle access to and answers each of the adversary’s queries with the value of ; it still sees the queries it forwards. TODO: attribute the non-programmable model to Nielsen (“Separating Random Oracle Proofs from Complexity Theoretic Proofs: The Non-committing Encryption Case”, CRYPTO 2002) and the notions of limited programmability to Fischlin, Lehmann, Ristenpart, Shrimpton, Stam and Tessaro (“Random Oracles with(out) Programmability”, ASIACRYPT 2010); both are unread.
Observability
A reduction or extractor observes the adversary’s oracle queries when it sees each query the adversary makes to . Simulating , as in the ROM, and forwarding queries to an external , as in the non-programmable model, both observe. A non-observing reduction does not see the adversary’s queries and may still program the answers; under non-observing reductions RSA-PFDH and Schnorr signatures remain secure, while Fischlin’s NIZK proof of knowledge has no non-observing online extractor — AB13. A reduction that neither observes nor programs is a non-observing non-programming reduction — AB13.
Global random oracle
In a composable setting, a global random oracle is a single random oracle to which all parties and all protocols have access, including protocols other than the one under analysis; the ROM gives no security guarantee in the presence of arbitrary protocols that use the same random oracle, while with a global random oracle and no other trusted setup there are commitment, zero-knowledge and general function-evaluation protocols with universally composable security — CJS14. The global random oracle of CJS14, a functionality of the Generalized UC framework, is non-programmable; under alternative definitions of a global random oracle, existing practical realizations of public-key encryption, non-committing encryption, commitments (among them ), Schnorr signatures and hash-and-invert signatures are GUC-secure — CDG+18.
Quantum random oracle model
In the quantum random oracle model (QROM), every party gets a uniformly random function ; quantum algorithms, the adversary included, may query it in superposition through the unitary , while honest parties query it classically — BDF+11. A proof in the classical ROM need not carry over: some scheme is secure against quantum adversaries with classical oracle access and insecure against quantum adversaries making superposition queries — BDF+11. When the QROM is the only hypothesis of a result, the adversary is a computationally unbounded quantum algorithm limited only in its oracle queries, and a notion stated for efficient adversaries is read for quantum adversaries making superposition queries to — standard.
Known Results
-
The ROM is uninstantiable in general. A function ensemble is a family computable in polynomial time, with , and implementing the oracle by it samples with the keys and publishes in the public key. There is a signature scheme existentially unforgeable under chosen-message attack in the ROM, with no computational assumption, whose implementation by every function ensemble is existentially forgeable under a key-only attack and totally breakable under a chosen-message attack (No fixed-construction reduction from Hash function to DS) — CGH98 (arXiv v1, Theorem 4.4). If some public-key encryption scheme is semantically secure in the ROM, some public-key encryption scheme is semantically secure in the ROM and not semantically secure under any implementation, semantic security being that of GM84, in which the message distribution may depend on the public key (No fixed-construction reduction from Hash function to semantically secure PKE); if some scheme is secure under adaptive chosen-ciphertext attack in the ROM, some scheme is secure under that attack in the ROM while every implementation is not semantically secure and a chosen-ciphertext attack recovers its decryption key (No fixed-construction reduction from Hash function to CCA-secure PKE) — CGH98 (arXiv v1, Theorem 4.6 and footnote 14).
-
Equivalence with the ideal-cipher model — a random oracle is indifferentiably constructible from an ideal cipher CDMP05, and an ideal cipher from a random oracle by a 14-round Feistel network HKT11; by the composition theorem of MRH04 the two models are equivalent for single-stage security games, and that theorem covers only single-stage games RSS11.
-
No fixed-construction reduction from Fiat-Shamir + Hash function to DS
-
Fiat–Shamir and the GKR-based succinct argument: for every hash function, a corresponding instantiation of the argument is not adaptively sound after the transform — KRS25.
-
OIHFs can be constructed from random oracles, and a standard-model OIHF implies OT by a non-black-box reduction that is not defined for OIHFs using a random oracle — BH26.
Participates in
Builds on Random Oracle Model
- ROM ⇒ PCS (FRI)
- ROM ⇒ STARK
- QROM ⇒ unclonable-indistinguishable UE (via Quantum random oracle model)
- QROM ⇒ zk-SNARK (Micali’s construction in the QROM) (via Quantum random oracle model)
- ROM ⇒ Merkle puzzles
- ROM ⇒ PRF (secret-prefix hashing)
- ROM ⇒ SNARK (Micali’s CS proofs)
Barriers
- No relativizing reduction from TDP over bit strings + ROM to CCA-secure PKE (OAEP) — circumvented by RSA ⇒ IND-CCA PKE (RSA-OAEP)
- No reduction from ROM to KE
- No oracle-free-encoding reduction from ROM to public-key DEPIR with a sublinear key
- No reduction from ROM to TLP
- No reduction from ROM to VDF
Proved in the Random Oracle Model
- BDH ⇒ PEKS (random oracle model)
- BDH ⇒ IBE (random oracle model)
- Bilinear pairing + q-DLOG ⇒ Universal SNARK (PLONK)
- Bilinear pairing + q-SDH + DLIN ⇒ CPA-anonymous group signatures (Boneh–Boyen–Shacham)
- Bilinear pairing ⇒ CP-ABE
- CDH ⇒ KE with bit-string keys (hashed Diffie–Hellman)
- CDH ⇒ IND-CPA KEM (hashed ElGamal)
- co-CDH ⇒ BLS multi-signatures with public-key aggregation
- co-CDH ⇒ Aggregate signatures (BGLS)
- co-CDH ⇒ BLS signatures
- DCR (safe-prime moduli) ⇒ TPKE
- DLOG ⇒ Schnorr signatures
- DLOG ⇒ BLS signatures
- DLOG ⇒ PCS
- Factoring ⇒ Forward-secure signature (Bellare–Miner)
- HVZK ⇒ NIZK (Fiat–Shamir)
- ID ⇒ DS
- IND-CPA PKE ⇒ IND-CCA KEM (Fujisaki–Okamoto)
- LWE ⇒ IBE (Gentry–Peikert–Vaikuntanathan, random oracle model)
- Module LWE + Module-SIS ⇒ SUF-CMA DS
- Module LWE ⇒ IND-CCA KEM
- NTRU ⇒ IND-CCA KEM
- OMDL + ROS ⇒ Blind Schnorr signatures
- OMDL ⇒ MuSig2
- OT ⇒ OT extension (IKNP)
- Extractable PCS ⇒ SNARK
- Φ-Hiding ⇒ DS (RSA full-domain hash, tight)
- CPA-secure PKE ⇒ D-PKE (Encrypt-with-Hash, random oracle model)
- IND-CPA PKE ⇒ OW-PCA PKE (Fujisaki–Okamoto transform T)
- OW-CPA PKE ⇒ OW-PCA PKE (Fujisaki–Okamoto transform T)
- OW-PCA PKE ⇒ IND-CCA KEM (Fujisaki–Okamoto transform U, implicit rejection)
- Prime-order CDH ⇒ EDL signatures
- Prime-order DDH ⇒ Katz–Wang signatures
- DLOG ⇒ Blind Okamoto–Schnorr signatures
- DLOG ⇒ EdDSA
- DLOG ⇒ MuSig
- DLOG ⇒ Schnorr signatures (tight, AGM)
- QR ⇒ IBE (Cocks, random oracle model)
- RSA ⇒ DS (RSA-PSS, random oracle model)
- RSA ⇒ IND-CCA PKE (RSA-OAEP)
- RSA ⇒ IND-CCA KEM
- RSA (safe-prime moduli) ⇒ Threshold RSA signatures (Shoup)
- Schnorr identification ⇒ Schnorr signatures (Fiat–Shamir)
- SIS ⇒ SUF-CMA DS
- Sparse Learning Parity with Noise ⇒ Pseudorandom correlation generators (PCG)
- Succinct state-restoration-sound IOP ⇒ STARK (BCS transform)
- TDP ⇒ DS (full-domain hash, random oracle model)
- TDP over bit strings ⇒ Ring signatures with fixed-ring unforgeability (Rivest–Shamir–Tauman)
- Type 1 pairing + CDH ⇒ Multi-signatures in the KOSK model (Boldyreva)
- Type 1 pairing + CDH ⇒ Multi-signatures with proofs of possession