Data structures meet cryptography: 3SUM with preprocessing
Alexander Golovnev, Siyao Guo, Thibaut Horel, Sunoo Park, Vinod Vaikuntanathan
Abstract
This paper shows several connections between data structure problems and cryptography against preprocessing attacks. Our results span data structure upper bounds, cryptographic applications, and data structure lower bounds, as summarized next. First, we apply Fiat-Naor inversion, a technique with cryptographic origins, to obtain a data structure upper bound. In particular, our technique yields a suite of algorithms with space S and (online) time T for a preprocessing version of the N -input 3SUM problem where S 3 •T = O(N 6 ). This disproves a strong conjecture (Goldstein et al., WADS 2017) that there is no data structure that solves this problem for S = N 2-δ and T = N 1-δ for any constant δ > 0. Secondly, we show equivalence between lower bounds for a broad class of (static) data structure problems and one-way functions in the random oracle model that resist a very strong form of preprocessing attack. Concretely, given a random function F : [N ] → [N ] (accessed as an oracle) we show how to compile it into a function G F : [N 2 ] → [N 2 ] which resists S-bit preprocessing attacks that run in query time T where ST = O(N 2-ε ) (assuming a corresponding data structure lower bound on 3SUM). In contrast, a classical result of Hellman tells us that F itself can be more easily inverted, say with N 2/3 -bit preprocessing in N 2/3 time. We also show that much stronger lower bounds follow from the hardness of kSUM. Our results can be equivalently interpreted as security against adversaries that are very non-uniform, or have large auxiliary input, or as security in the face of a powerfully backdoored random oracle. Thirdly, we give non-adaptive lower bounds for 3SUM which match the best known lower bounds for static data structure problems. Moreover, we show that our lower bound generalizes to a range of geometric problems, such as three points on a line, polygon containment, and others. 1 The notation O(f (N )) suppresses poly-logarithmic factors in f (N ).
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 f67b65be-4320-4aca-a941-79757dec8e5dCited by top-tier papers7
- Tight Quantum Time-Space Tradeoffs for Function InversionKai-Min Chung, Siyao Guo, Qipeng Liu, Luowen QianFOCS 2020 · 39 citations
- Time-Space Tradeoffs for Sponge Hashing: Attacks and Limitations for Short CollisionsCody Freitag, Ashrujit Ghoshal, Ilan KomargodskiCRYPTO 2022 · 9 citations
- The Fine-Grained Complexity of CFL ReachabilityParaschos Koutris, Shaleen DeepPOPL 2023 · 6 citations
- Beating Brute Force for Compression ProblemsShuichi Hirahara, Rahul Ilango, R. Ryan WilliamsSTOC 2024 · 3 citations
- Stronger 3SUM-Indexing Lower BoundsEldon Chung, Kasper Green LarsenSODA 2023 · 2 citations
Related papers
- Online Orthogonal Vectors RevisitedKarthik Gajulapalli, Alexander Golovnev, Samuel King, Sidhant SaraogiSODA 2026
- Revisiting Time-Space Tradeoffs for Function InversionAlexander Golovnev, Siyao Guo, Spencer Peters, Noah Stephens-DavidowitzCRYPTO 2023 · 5 citations
- Stronger Cell Probe Lower Bounds via Local PRGsOliver Korten, Toniann Pitassi, Russell ImpagliazzoFOCS 2025 · 2 citations
- The Query-Complexity of Preprocessing AttacksAshrujit Ghoshal, Stefano TessaroCRYPTO 2023 · 7 citations
- Space-Efficient Text Indexing with Mismatches using Function InversionJackson Bibbens, Levi Borevitz, Samuel McCauleySTOC 2026 · 2 citations
