Search arXiv⌕ Search

arXiv · 2611.41810

Prism Tables: Improving Time-Memory Tradeoffs for Function Inversion

Abstract

We introduce prism tables, which improve the time-memory tradeoff for inverting a function $f\colon[N]\to[N]$ by a factor of $\log N$. For a random function, it gives $TM^2=O(N^2/\log N)$, the first asymptotic improvement on Hellman's classical 1980 tradeoff of $TM^2=O(N^2)$. Here $M$ counts the words of precomputed advice about $f$ and $T$ the expected number of online evaluations needed to find a preimage of a given challenge. For arbitrary functions the tradeoff becomes $TM^2=O(N^3q(f)/\log N)$, where $q(f)$ is the collision probability of $f$, and $TM^3=O(N^3/\log N)$ 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 $\log N$ 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 $\log N$, 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 $N\approx 2^{20}$ to $2^{32}$: on average, prism tables used $1.92$ to $2.95\times$ fewer online evaluations than rainbow tables at equal storage and similar success rate, with the gain growing like $\log N$.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Moni Naor, Michael Sieradzki. 2026-11-30. Prism Tables: Improving Time-Memory Tradeoffs for Function Inversion. https://searcharxiv.org/abs/2611.41810

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

AntiFLipper: A Secure and Efficient Defense Against Label-Flipping Attacks in Federated Learning

In federated learning, malicious clients can corrupt a shared classifier by flipping the labels of their local training data. A natural way to detect them is to ask each client how accurately the global model predicts its local labels. However, because the global model is more accurate on some classes than others, honest clients with different class proportions can report very different accuracies. Malicious clients can also falsify their reports. We present AntiFLipper, a lightweight defense that needs no clean validation data at the server. Each client reports its per-class sample and correct-prediction counts, from which the server estimates the global model's accuracy on every class. The server then compares each client's reported accuracy with the accuracy expected for its class proportions, and a check on the direction of each client's final-layer update provides a second detection signal. On MNIST and CIFAR-10, the 84-byte report adds less than 0.1% to each model upload, and server processing time is comparable to FedAvg in a matched benchmark. On CIFAR-10 with moderate label skew and 40% of clients flipping all their labels, AntiFLipper reaches 72.0% mean test accuracy, versus 69.2% for the strongest of six baselines, and detects every attacker without excluding any honest client. In the same setting, detection remains complete in separate tests with falsified reports, partial label flipping and 50% client participation. Under severe label skew without attackers, AntiFLipper reduces wrongful exclusions of honest clients from 18.3 of 20 on average with unadjusted accuracy feedback to zero.

cs.CR↗

LAPRAS : Learning-Augmented PRivate Answering for linear query Streams

Modern database workloads are highly predictable: query streams are dominated by recurring jobs and templates, even when their arrival order is not known in advance. This motivates a learning-augmented view of online differentially private (DP) analytics: can algorithms utilize predictions about which queries will occur to improve utility under a single global privacy budget, while remaining robust when predictions are wrong? We study online DP query answering, where a curator must answer a stream $Q$ of $S$ linear queries arriving in uniformly random order under privacy budget $(ε,δ)$. We present LAPRAS, which assumes access to an oracle that outputs a prediction set of queries likely to appear in the stream and uses it to guide privacy spending. LAPRAS answers predicted queries using the offline-optimal Matrix Mechanism and answers the remaining queries online from a residual budget. To pace spending across an unknown number of unpredicted queries, we introduce Smooth Allocation, which forms an unbiased stopping-time estimate $\widehat{B}$ from the first $T=Θ(\log^2 S)$ unpredicted queries and continuously recalibrates per-query expenditure. Empirically, over two real datasets, we validate the intended consistency--robustness trade-off: LAPRAS achieves near-offline utility under high overlap and degrades gracefully to baseline-level performance when overlap is low.

cs.CR↗

SABLE: Minimalist Instruction-Level Authenticated Encryption for Constrained Confidential Computing

Conventional processors typically store and fetch instructions in plaintext, exposing firmware to extraction and tampering attacks. In this work, we present SABLE, a minimalist processor design that decrypts and authenticates each instruction independently using a single ASCON-128a primitive, so instructions that fail verification are rejected before they execute. SABLE adds a decrypt-and-verify stage at the instruction-memory wrapper or CPU frontend and requires only post-link processing of ELF binaries, without the drawbacks of control-flow analysis or instruction-level chaining observed in existing proposals. We develop and evaluate seven micro-architectures (one single-cycle, six multi-cycle) with the NEORV32 RISC-V core on a Xilinx Artix-7 FPGA. LUT, performance, power, and energy-per-instruction (EPI) overheads span 1.6-9.3$\times$, 4.1-10.2$\times$, 1.5-8$\times$, and 10.4-80$\times$, respectively, exposing area-performance-energy trade-offs between designs. We also report that the use of full-length authentication tags increases instruction storage requirements by 5$\times$ as an additional trade-off.

cs.CR↗