Prism Tables: Improving Time-Memory Tradeoffs for Function Inversion
Abstract
We introduce prism tables, which improve the time-memory tradeoff for inverting a function by a factor of . For a random function, it gives , the first asymptotic improvement on Hellman's classical 1980 tradeoff of . Here counts the words of precomputed advice about and the expected number of online evaluations needed to find a preimage of a given challenge. For arbitrary functions the tradeoff becomes , where is the collision probability of , and in the worst case. We give rainbow tables (Oechslin, 2003) the rigorous worst-case guarantees that Fiat and Naor established for Hellman's tables. Rather than relying on randomness assumptions, the tables use explicit pairwise independent functions, stored and counted as part of the advice. Following Fiat and Naor, we store images with many preimages separately and let the chains bypass them. Prism tables extend this rainbow construction by storing compact information that tells the online search whether it is on the right track or on a path leading nowhere. Concretely, we place a Bloom filter at selected columns, each holding all the chain values in its column. The filters let the search identify and discard most wrong column (color) guesses well before the endpoint. This cuts the expected work on incorrect guesses, including false alarms, by a factor of , and with it the online cost. Since the filters have no false negatives, prism tables preserve the success probability of the underlying rainbow tables. The improvement is already visible in experiments on AES-based functions with to : on average, prism tables used to fewer online evaluations than rainbow tables at equal storage and similar success rate, with the gain growing like .
Create a lesson
Metadata
- Categories
- cs.CR, cs.DS
Related papers
Copied and Perturbed: A String-Based Likelihood-Ratio Membership Inference Attack on LLM In-Context Table Synthesis
Shared title terminologycs.CRJoshua Ward, Haoyuan Cheng, Yue Zhang et al.
Subexponential-Time Provers for Sparse #SAT
Shared title terminologycs.CRVaani Goenka, Mahabir Prasad Jhanwar
Structure Matters: Differentially Private Spectral Statistics for ECG Time Series
Shared title terminologycs.CRReza Saadi, Erfan Salavati, Mehmet Cengiz Onbaşlı
Monitoring Activations for Real-Time Detection of Cyber Misuse
Shared title terminologycs.CRCarlo Alfano, Adam Stein, Neil Gollapudi et al.
Reinforcement Building: Toward Self-Improving Harnesses for Defensive Software Security Agents
Shared title terminologycs.CRAmine Lbath, Aurelien Delaitre, Vadim Okun et al.
Ask, Forget, Repair: What Provenance-Gated Agent Memory Costs Across Six Language Models
Shared title terminologycs.CRRadhika Motwani