Paper 2022/1455

Cuckoo Hashing in Cryptography: Optimal Parameters, Robustness and Applications

Kevin Yeo, Google (United States), Columbia University
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 $\ell$ 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 $\epsilon$, the query overhead of our scheme is $O(1 + \sqrt{\log(1/\epsilon)/\log n})$. Our scheme has quadratically smaller query overhead than prior works for any target failure probability $\epsilon$. 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 $\tilde{O}(\log \lambda)$ that is robust against poly$(\lambda)$ 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 $\Omega(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.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
A major revision of an IACR publication in CRYPTO 2023
Keywords
cuckoo hashingrobustnessbatch codesPIR
Contact author(s)
kwlyeo @ cs columbia edu
History
2023-06-20: last of 2 revisions
2022-10-24: received
See all versions
Short URL
https://ia.cr/2022/1455
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2022/1455,
      author = {Kevin Yeo},
      title = {Cuckoo Hashing in Cryptography: Optimal Parameters, Robustness and Applications},
      howpublished = {Cryptology ePrint Archive, Paper 2022/1455},
      year = {2022},
      note = {\url{https://eprint.iacr.org/2022/1455}},
      url = {https://eprint.iacr.org/2022/1455}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.