EUROCRYPT 2025
The 2Hash OPRF Framework and Efficient Post-Quantum Instantiations
Ward Beullens
IBM Research Europe
Lucas Dodgson
ETH Zurich
Sebastian Faller
IBM Research Europe, ETH Zurich
Julia Hesse
IBM Research Europe
Keywords: Oblivious Pseudo-Random Function, Secure Function Evaluation, Universal Composability
Abstract
An Oblivious Pseudo-Random Function (OPRF) is a two-party protocol for jointly evaluating a Pseudo-Random Function (PRF), where a user has an input x and a server has an input k. At the end of the protocol, the user learns the evaluation of the PRF using key k at the value x, while the server learns nothing about the user's input or output.
OPRFs are a prime tool for building secure authentication and key exchange from passwords, private set intersection, private information retrieval, and many other privacy-preserving systems. While classical OPRFs run as fast as a TLS Handshake, current *quantum-safe* OPRF candidates are still practically inefficient.
In this paper, we propose a framework for constructing OPRFs from post-quantum multi-party computation. The framework captures a family of so-called "2Hash PRFs", which sandwich a function evaluation in between two hashes. The core of our framework is a compiler that yields an OPRF from a secure evaluation of any function that is key-collision resistant and one-more unpredictable. We instantiate this compiler by providing such functions built from Legendre symbols, and from AES encryption. We then give a case-tailored protocol for securely evaluating our Legendre-based function, built from oblivious transfer (OT) and zero-knowledge proofs (ZKP). Instantiated with lattice-based OT and ZKPs, we obtain a quantum-safe OPRF that completes in 0.57 seconds, with less than 1MB of communication.
Publication
EUROCRYPT 2025
PaperArtifact
Artifact number
eurocrypt/2025/a7
Artifact published
May 19, 2025
Badge
🏆 IACR EUROCRYPT Results Reproduced
License
This work is licensed under the MIT License.
Note that license information is supplied by the authors and has not been confirmed by the IACR.
BibTeX How to cite
Ward Beullens, Lucas Dodgson, Sebastian Faller, Julia Hesse. (2025). The 2Hash OPRF Framework and Efficient Post-Quantum Instantiations. In Advances in Cryptology -- EUROCRYPT 2025, LNCS vol. 15608, pp. 332–362, Springer. https://doi.org/10.1007/978-3-031-91101-9_12. Artifact at https://artifacts.iacr.org/eurocrypt/2025/a7.