Semantically Secure Order-Revealing Encryption: Multi-input Functional Encryption Without Obfuscation

Dan Boneh, Kevin Lewi, Mariana Raykova, Amit Sahai, Mark Zhandry, Joe Zimmerman

Abstract

This paper introduces the first implementable Order-Revealing Encryption (ORE) scheme that achieves "best-possible" semantic security. By leveraging multilinear maps and matrix branching programs instead of general-purpose indistinguishability obfuscation ($iO$), the authors bridge the gap between insecure order-preserving encryption and theoretical, non-performant functional encryption. The construction reveals only the relative order of encrypted data and nothing else, providing a path toward secure, searchable encrypted databases.

Introduction

Searching over encrypted data typically involves a trade-off between efficiency and security. Traditional Order-Preserving Encryption (OPE) allows databases to sort ciphertexts using standard algorithms because $Enc(A) < Enc(B)$ if $A < B$. However, this leaks significant information about the distribution and distance of the underlying plaintexts. Conversely, Functional Encryption (FE) allows for specific computations like comparisons without decryption but usually relies on $iO$, which is currently too slow for real-world applications.

This work introduces a middle ground: an ORE scheme specifically for comparisons that is secure enough to hide everything except the order, yet efficient enough to be implemented using multilinear maps.

Methods

The construction is built upon three primary cryptographic pillars:

Matrix Branching Programs (MBPs)

The "greater-than" comparison function is represented as a sequence of matrix multiplications. If the final product of these matrices results in a specific value (e.g., zero), the condition is met. This allows the comparison logic to be embedded into the cryptographic structure.

Automaton representing the comparison function as a branching program.

Multilinear Maps

Multilinear maps serve as the cryptographic engine, allowing $k$-way multiplications on encrypted values. While standard bilinear pairings are limited to two-way operations, multilinear maps enable the complex interactions required for branching programs.

Exclusive Partition Families

To prevent "mix-and-match" attacks—where an adversary combines components from different ciphertexts to leak information—the authors introduce Exclusive Partition Families. This technique uses the index sets of the multilinear map to ensure that only "honest" evaluations using components from the same ciphertext pair can be successfully computed.

The ORE construction combining components of ciphertexts $c_x$ and $c_y$ to evaluate the comparison.

Key Results and Insights

The paper demonstrates that the ciphertexts themselves do not need to be ordered; rather, a public evaluation algorithm (comp) can determine the relationship between two ciphertexts. This shift allows for much stronger security guarantees.

  • Efficiency: To compare two $k$-bit values, the scheme requires a $(k/2 + 1)$-way multilinear map. For 16-bit integers, a 9-way map is used, resulting in ciphertexts of approximately 264 group elements.
  • Best-Possible Security: The authors formally prove that an adversary learns nothing about the plaintexts except for their relative order, meeting the gold standard for ORE.
  • Generalization: The framework extends beyond ORE to Secret-Key Multi-Input Functional Encryption (SK-MIFE) for any function expressible as a branching program.

Conclusion

While this scheme represents a significant advancement toward practical, secure ORE, challenges remain. Multilinear maps are a nascent technology and current implementations are relatively slow. Furthermore, ciphertext sizes remain large for high-performance database applications. Future work will focus on optimizing these primitives and moving toward security proofs based on more standard assumptions like Learning With Errors (LWE).

Summary updated

BibTeX
@inproceedings{boneh2015semantically,
  author = {Dan Boneh and Kevin Lewi and Mariana Raykova and Amit Sahai and Mark Zhandry and Joe Zimmerman},
  title = {{Semantically Secure Order-Revealing Encryption: Multi-input Functional Encryption Without Obfuscation}},
  booktitle = {EUROCRYPT},
  year = {2015},
  doi = {10.1007/978-3-662-46803-6\_19},
}
Figure