Research Library · Idea
Random oracle model
The random oracle model is a setting for security proofs in which every party, the adversary included, has access to a public random function, and a hash function is analysed as if it were that function. Mihir Bellare and Phillip Rogaway proposed it as a design method in “Random Oracles are Practical: A Paradigm for Designing Efficient Protocols”, at the first ACM Conference on Computer and Communications Security in November 1993 1. They credit Fiat and Shamir with the first work to adopt explicitly a public random oracle that all parties can query, used there to turn an identification scheme into a signature scheme 1.
Their method has four steps: define the security goal in a model with a random oracle, devise an efficient protocol for that model, prove that the protocol meets the definition, and replace oracle accesses by computation of a concrete function h 1. They stressed that all claims of provable security are made within the model, and that instantiating the oracle with h is only a heuristic whose success is trusted from experience. They noted 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 that are secure with the oracle and fail once h replaces it; problem and protocol should therefore be independent of the hash function, a notion they left unformalised 1. Their thesis was that significant assurance benefits nonetheless remain, with protocols much more efficient than standard ones for encryption, signatures and zero-knowledge proofs 1.
In 1998 Ran Canetti, Oded Goldreich and Shai Halevi showed that the last step cannot be justified in general. 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 2. Their schemes are deliberately unnatural, and they do not claim that the result applies to schemes in the literature; the lesson they draw is that security in the model does not necessarily imply that a particular real-world implementation is secure, or that the scheme has no structural flaws 2.
The model remains in wide use. Boneh and Shoup's textbook calls it a popular heuristic used to justify numerous cryptographic constructions 3. They describe results in the model as rigorous theorems that still guarantee no security for a system built with a specific hash function, but that do rule out generic attacks, those that would work if the hash function were a random oracle. They add that Merkle-Damgård hashes should not be used directly as general-purpose random oracles, whereas the sponge construction, the basis of SHA-3, can be 3.
Source · Random Oracles are Practical: A Paradigm for Designing Efficient Protocols (opens in a new tab) · Proceedings of the First ACM Conference on Computer and Communications Security
References
- Random Oracles are Practical: A Paradigm for Designing Efficient Protocols (opens in a new tab) · Proceedings of the First ACM Conference on Computer and Communications Security, author-hosted revision of August 2, 2021 at UC San Diego · November 1, 1993 ↩ ↩ ↩ ↩ ↩
- The Random Oracle Methodology, Revisited (opens in a new tab) · arXiv (Ran Canetti, Oded Goldreich and Shai Halevi; Proceedings of the 30th ACM Symposium on Theory of Computing, 1998) · October 11, 2000 ↩ ↩
- A Graduate Course in Applied Cryptography, version 0.6 (opens in a new tab) · Dan Boneh and Victor Shoup · January 1, 2023 · Section 8.10.2, Random oracles: a useful heuristic. ↩ ↩
Research articles
- Secrecy as mathematics: a reader in cryptography from Shannon's secrecy paper to provable security and the timing leak · Cybersecurity foundations
In the news
- Classical Key Agreement with Near-Quadratic Quantum Security · IACR News ·
- Merkle Trees Minimize Verifier Complexity in the ROM · IACR News ·
See what connects to it on the map of ideas →

SecSIG