Abstract
This paper introduces Oblivious Order-Preserving Encryption (OOPE), a protocol that allows a third-party analyst to perform private range queries on an encrypted database without the data owner ever sharing their secret key. By cleverly combining homomorphic encryption and garbled circuits, the authors achieve logarithmic query complexity, making secure multi-user data analysis practical even for databases with millions of records.
Introduction
In cloud computing, data owners (DO) often outsource their databases to a Cloud Service Provider (CSP). To maintain privacy, they use Order-Preserving Encryption (OPE), which allows the CSP to perform range queries directly on encrypted data. However, OPE is traditionally symmetric, requiring the secret key for query encryption. This creates a bottleneck when a third-party Data Analyst (DA) needs to perform queries without compromising the DO's secret key or revealing private query parameters.
Methodology
The authors propose a three-party protocol that leverages several cryptographic primitives to enable sublinear ($O(\log n)$) query processing:
- Stateful OPE (mOPE): A binary search tree (OPE-tree) is stored at the CSP, where each node represents an encrypted value.
- Additively Homomorphic Encryption (Paillier): Values in the OPE-tree are encrypted using the Paillier cryptosystem, allowing the CSP to perform blinded arithmetic.
- Yao’s Garbled Circuits (GC): The DO and DA engage in secure two-party computation to compare the DA's query against tree nodes to decide the traversal path.
- Blinding: The CSP adds random noise to ciphertexts before comparison to prevent the DO and DA from learning the exact path in the tree.
Experimental Evaluation
The system was evaluated using synthetic datasets ranging from 100 to 1,000,000 entries. Testing measured average encryption and comparison times across local loopback and standard LAN environments to assess the impact of network latency.
Key Results
- Efficiency: For a database with 1 million entries, query encryption takes approximately 0.3 seconds on a loopback and 1.3 seconds via LAN.
- Latency: Individual tree comparisons take about 14ms, largely due to Paillier decryption overhead (~12ms).
- Setup and Storage: Generating an OPE-tree for 1 million entries takes 4.5 seconds and requires 492 MB of storage at 2048-bit security.
Discussion and Future Work
The core innovation of this work is achieving logarithmic efficiency by leveraging binary search tree structures instead of linear scans. The protocol also supports frequency-hiding OPE (mOPE3) and includes integrity protection mechanisms.
Future work includes addressing the limitations of the semi-honest model and optimizing for high-latency network environments. Additionally, the impact of frequent tree rebalancing in dynamic databases remains an area for further study.
Summary updated