Cuckoo Hashing in Cryptography: Optimal Parameters, Robustness and Applications
Abstract
Cuckoo hashing is a powerful primitive that enables storing items using small space with efficient querying. At a high level, cuckoo hashing maps n items into b entries storing at most ℓ items such that each item is placed into one of k randomly chosen entries. Additionally, there is an overflow stash that can store at most s items. Many cryptographic primitives rely upon cuckoo hashing to privately embed and query data where it is integral to ensure small failure probability when constructing cuckoo hashing tables as it directly relates to the privacy guarantees.
As our main result, we present a more query-efficient cuckoo hashing construction using more hash functions. For construction failure probability ǫ, the query overhead of our scheme is O(1 + log(1/ǫ)/ log n). Our scheme has quadratically smaller query overhead than prior works for any target failure probability ǫ. We also prove lower bounds matching our construction. Our improvements come from a new understanding of the locality of cuckoo hashing failures for small sets of items.
We also initiate the study of robust cuckoo hashing where the input set may be chosen with knowledge of the hash functions. We present a cuckoo hashing scheme using more hash functions with query overhead Õ(log λ) that is robust against poly(λ) adversaries. Furthermore, we present lower bounds showing that this construction is tight and that extending previous approaches of large stashes or entries cannot obtain robustness except with Ω(n) query overhead.
As applications of our results, we obtain improved constructions for batch codes and PIR. In particular, we present the most efficient explicit batch code and blackbox reduction from single-query PIR to batch PIR.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Batch PIR and Labeled PSI with Oblivious Ciphertext Compression cites Fast Private Set Intersection from Homomorphic Encryption
- Batch PIR and Labeled PSI with Oblivious Ciphertext Compression cites Labeled PSI from Fully Homomorphic Encryption with Malicious Security
- Batch PIR and Labeled PSI with Oblivious Ciphertext Compression cites SPIRAL: Fast, High-Rate Single-Server PIR via FHE Composition
- Batch PIR and Labeled PSI with Oblivious Ciphertext Compression cites PIR with Compressed Queries and Amortized Query Processing
- Labeled PSI from Fully Homomorphic Encryption with Malicious Security cites Fast Private Set Intersection from Homomorphic Encryption
- Labeled PSI from Fully Homomorphic Encryption with Malicious Security cites PIR with Compressed Queries and Amortized Query Processing
- SPIRAL: Fast, High-Rate Single-Server PIR via FHE Composition cites PIR with Compressed Queries and Amortized Query Processing
- Respire: High-Rate PIR for Databases with Small Records cites Batch PIR and Labeled PSI with Oblivious Ciphertext Compression
- Respire: High-Rate PIR for Databases with Small Records cites SPIRAL: Fast, High-Rate Single-Server PIR via FHE Composition
- Respire: High-Rate PIR for Databases with Small Records cites PIR with Compressed Queries and Amortized Query Processing
- PIR with Compressed Queries and Amortized Query Processing cites Fast Private Set Intersection from Homomorphic Encryption
Cited by top-tier papers8
- Scalable Private Set Union, with Stronger SecurityYanxue Jia, Shi-Feng Sun, Hong-Sheng Zhou, Dawu GuUSENIX Security 2024 · 22 citations
- Batch PIR and Labeled PSI with Oblivious Ciphertext CompressionAlexander Bienstock, Sarvar Patel, Joon Young Seo, Kevin YeoUSENIX Security 2024 · 16 citations
- Single Pass Client-Preprocessing Private Information RetrievalArthur Lazzaretti, Charalampos PapamanthouUSENIX Security 2024 · 11 citations
- O(1) Insertion for Random Walk d-ary Cuckoo Hashing up to the Load ThresholdTolson Bell, Alan M. FriezeFOCS 2024 · 5 citations
- Respire: High-Rate PIR for Databases with Small RecordsAlexander Burton, Samir Jordan Menon, David J. WuCCS 2024 · 3 citations
Builds on18
- Fast Private Set Intersection from Homomorphic EncryptionHao Chen, Kim Laine, Peter RindalCCS 2017 · 446 citations
- PIR with Compressed Queries and Amortized Query ProcessingSebastian Angel, Hao Chen, Kim Laine, Srinath T. V. SettyS&P 2018 · 353 citations
- Labeled PSI from Fully Homomorphic Encryption with Malicious SecurityHao Chen, Zhicong Huang, Kim Laine, Peter RindalCCS 2018 · 242 citations
- PSI from PaXoS: Fast, Malicious Private Set IntersectionBenny Pinkas, Mike Rosulek, Ni Trieu, Avishay YanaiEUROCRYPT 2020 · 198 citations
- SPIRAL: Fast, High-Rate Single-Server PIR via FHE CompositionSamir Jordan Menon, David J. WuS&P 2022 · 153 citations
Related papers
- Efficient d-ary Cuckoo Hashing at High Load Factors by Bubbling UpWilliam Kuszmaul, Michael MitzenmacherSODA 2025 · 2 citations
- Call Me By My Name: Simple, Practical Private Information Retrieval for Keyword QueriesSofía Celi, Alex DavidsonCCS 2024 · 13 citations
- Adversarial Correctness and Privacy for Probabilistic Data StructuresMia Filic, Kenneth G. Paterson, Anupama Unnikrishnan, Fernando VirdiaCCS 2022 · 6 citations
- Enhanced Trapdoor Hashing from DDH and DCRGeoffroy Couteau, Aditya Hegde, Sihang PuEUROCRYPT 2025 · 1 citation
- Alibi: A Flaw in Cuckoo-Hashing Based Hierarchical ORAM Schemes and a SolutionBrett Hemenway Falk, Daniel Noble, Rafail OstrovskyEUROCRYPT 2021 · 10 citations
