Cryptology ePrint Archive: Report 2021/1561

Quantum Time/Memory/Data Tradeoff Attacks

Orr Dunkelman and Nathan Keller and Eyal Ronen and Adi Shamir

Abstract: One of the most celebrated and useful cryptanalytic algorithms is Hellman's time/memory tradeoff (and its Rainbow Table variant), which can be used to invert random-looking functions on $N$ possible values with time and space complexities satisfying $TM^2=N^2$. In this paper we develop new upper bounds on their performance in the quantum setting. As a search problem, one can always apply to it the standard Grover's algorithm, but this algorithm does not benefit from the possible availability of a large memory in which one can store auxiliary advice obtained during a free preprocessing stage. In fact, at FOCS'20 it was rigorously shown that for memory size bounded by $M \leq O(\sqrt{N})$, even quantum advice cannot yield an attack which is better than Grover's algorithm.

Our main result complements this lower bound by showing that in the standard Quantum Accessible Classical Memory (QACM) model of computation, we can improve Hellman's tradeoff curve to $T^{4/3}M^2=N^2$. When we generalize the cryptanalytic problem to a time/memory/data tradeoff attack (in which one has to invert $f$ for at least one of $D$ given values), we get the generalized curve $T^{4/3}M^2D^2=N^2$. A typical point on this curve is $D=N^{0.2}$, $M=N^{0.6}$, and $T=N^{0.3}$, whose time is strictly lower than both Grover's algorithm (which requires $T=N^{0.4}$ in this generalized search variant) and the classical Hellman algorithm (which requires $T=N^{0.4}$ for these $D$ and $M$).

Category / Keywords: secret-key cryptography / Quantum Cryptanalysis, TMD Attacks, Hellman Tables, Rainbow Tables

Date: received 28 Nov 2021

Contact author: eyal ronen at cs tau ac il

Available format(s): PDF | BibTeX Citation

Version: 20211129:122605 (All versions of this report)

Short URL: ia.cr/2021/1561


[ Cryptology ePrint archive ]