Fast Database Joins and PSI for Secret Shared Data
Payman Mohassel, Peter Rindal, Mike Rosulek
Abstract
We present a scalable protocol for database joins on secret shared data in the honest-majority three-party setting. The key features of our protocol are a rich set of SQL-like join/select queries and the ability to compose join operations together due to the inputs and outputs being generically secret shared between the parties. Provided that all joins operate on unique primary keys, no information is revealed to any party during the protocol. In particular, not even the sizes of intermediate joins are revealed. All of our protocols are constant-round and achieve O(n) communication and computation overhead for joining two tables of n rows. These properties make our protocol ideal for outsourced secure computation. In this setting several non-colluding servers are setup and the input data is shared among them. These servers then perform the relevant secret shared computation and output the result. This model has recently been gaining traction in industry, e.g. Facebook's Crypten, Cape Privacy's TFEncrypted, Mozilla Telemetry. We additionally implement two applications on top of our framework. The first application detects voter registration errors within and between agencies of 50 US states, in a privacy-preserving manner. The second application allows several organizations to compare network security logs to more accurately identify common security threats, e.g. the IP addresses of a bot net. In both cases, the practicality of these applications depends on efficiently performing joins on millions of secret shared records. For example, our three party protocol can perform a join on two sets of 1 million records in 4.9 seconds or, alternatively, compute the cardinality of this join in just 3.1 seconds.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext b67e4cec-6b89-4ead-ae3c-d05ad9dcea8aCited by top-tier papers17
- SECRECY: Secure collaborative analytics in untrusted cloudsJohn Liagouris, Vasiliki Kalavri, Muhammad Faisal, Mayank VariaNSDI 2023 · 53 citations
- Cuckoo Hashing in Cryptography: Optimal Parameters, Robustness and ApplicationsKevin YeoCRYPTO 2023 · 15 citations
- Secret-Shared Joins with Multiplicity from Aggregation TreesSaikrishna Badrinarayanan, Sourav Das, Gayathri Garimella, Srinivasan Raghuraman et al.CCS 2022 · 9 citations
- Relational Algorithms for Top-k Query EvaluationQichen Wang, Qiyao Luo, Yilei WangSIGMOD 2024 · 5 citations
- Information-Theoretically Secure and Highly Efficient Search and Row RetrievalShantanu Sharma, Yin Li, Sharad Mehrotra, Nisha Panwar et al.VLDB 2023 · 4 citations
Builds on7
- ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 citations
- High-Throughput Semi-Honest Secure Three-Party Computation with an Honest MajorityToshinori Araki, Jun Furukawa, Yehuda Lindell, Ariel Nof et al.CCS 2016 · 463 citations
- Fast Private Set Intersection from Homomorphic EncryptionHao Chen, Kim Laine, Peter RindalCCS 2017 · 446 citations
- Efficient Batched Oblivious PRF with Applications to Private Set IntersectionVladimir Kolesnikov, Ranjit Kumaresan, Mike Rosulek, Ni TrieuCCS 2016 · 429 citations
- XONN: XNOR-based Oblivious Deep Neural Network InferenceM. Sadegh Riazi, Mohammad Samragh, Hao Chen, Kim Laine et al.USENIX Security 2019 · 314 citations
Related papers
- More Efficient Secret-Shared Joins with Multiplicity via Oblivious Sort ExpansionXiaoxin Du, Xiaojie Guo, Pinzhi Chen, Tong Li et al.CCS 2026
- Secure Graph Analysis at ScaleToshinori Araki, Jun Furukawa, Kazuma Ohara, Benny Pinkas et al.CCS 2021 · 53 citations
- Scape: Scalable Collaborative Analytics System on Private Database with Malicious SecurityFeng Han, Lan Zhang, Hanwen Feng, Weiran Liu et al.ICDE 2022 · 32 citations
- PRISM: Private Verifiable Set Computation over Multi-Owner Outsourced DatabasesYin Li, Dhrubajyoti Ghosh, Peeyush Gupta, Sharad Mehrotra et al.SIGMOD 2021 · 26 citations
- Meteor: Improved Secure 3-Party Neural Network Inference with Reducing Online Communication CostsYe Dong, Xiaojun Chen, Weizhan Jing, Kaiyun Li et al.WWW 2023 · 27 citations
