40

Super-Quadratic Quantum Speed-ups and Guessing Many Likely Keys

Main:18 Pages
8 Figures
Bibliography:3 Pages
2 Tables
Abstract

We study the fundamental problem of guessing cryptographic keys, drawn from some non-uniform probability distribution DD, as e.g. in LPN, LWE or for passwords. The optimal classical algorithm enumerates keys in decreasing order of likelihood. The optimal quantum algorithm, due to Montanaro (2011), is a sophisticated Grover search.We give the first tight analysis for Montanaro's algorithm, showing that its runtime is 2H2/3(D)/22^{H_{2/3}(D)/2}, where Hα()H_{\alpha}(\cdot) denotes Renyi entropy with parameter α\alpha. Interestingly, this is a direct consequence of an information theoretic result called Arikan's Inequality (1996) -- which has so far been missed in the cryptographic community -- that tightly bounds the runtime of classical key guessing by 2H1/2(D)2^{H_{1/2}(D)}. Since H2/3(D)<H1/2(D)H_{2/3}(D) < H_{1/2}(D) for every non-uniform distribution DD, we thus obtain a super-quadratic quantum speed-up s>2s>2 over classical key guessing.As another main result, we provide the first thorough analysis of guessing in a multi-key setting. Specifically, we consider the task of attacking many keys sampled independently from some distribution DD, and aim to guess a fraction of them. For product distributions D=χnD = \chi^n, we show that any constant fraction of keys can be guessed within 2H(D)2^{H(D)} classically and 2H(D)/22 ^{H(D)/2} quantumly per key, where H(χ)H(\chi) denotes Shannon entropy. In contrast, Arikan's Inequality implies that guessing a single key costs 2H1/2(D)2^{H_{1/2}(D)} classically and 2H2/3(D)/22^{H_{2/3}(D)/2} quantumly. Since H(D)<H2/3(D)<H1/2(D)H(D) < H_{2/3}(D) < H_{1/2}(D), this shows that in a multi-key setting the guessing cost per key is substantially smaller than in a single-key setting, both classically and quantumly.

View on arXiv
Comments on this paper