对SHA-2和SHA-3的一般量子原像攻击的代价估计
Estimating the cost of generic quantum pre-image attacks on SHA-2 and SHA-3
摘要:
我们调查的成本Grover的量子搜索算法时,使用的背景下,前图像攻击的SHA-2和SHA-3家庭的哈希函数。我们的成本模型假设攻击运行在基于表面代码的容错量子计算机上。我们的估计依赖于时间-面积度量,其成本为逻辑量子位数乘以以表面代码周期为单位的电路深度。作为一个表面代码周期涉及一个重要的经典处理阶段,我们的成本估计允许粗糙,但直接,比较经典和量子算法。我们展示了一个电路的前图像攻击SHA-256,大约是$2^{153.8}$表面代码周期深,需要大约$2^{12.6}$逻辑量子位。这产生了$2^{166.4}$逻辑量子位周期的总成本。同样,我们展示了一个SHA 3 -256电路,其深度大约为$2^{146.5}$表面代码周期,并且需要大约$2^{20}$逻辑量子位,总成本再次为$2^{166.5}$逻辑量子位周期。这两种攻击都需要量子黑盒模型中的$2^{128}$查询的数量级,因此我们的研究结果表明,执行这些攻击可能是$275$十亿倍,比人们从简单的查询分析中预期的要昂贵。
英文摘要:
We investigate the cost of Grover's quantum search algorithm when used in the context of pre-image attacks on the SHA-2 and SHA-3 families of hash functions. Our cost model assumes that the attack is run on a surface code based fault-tolerant quantum computer. Our estimates rely on a time-area metric that costs the number of logical qubits times the depth of the circuit in units of surface code cycles. As a surface code cycle involves a significant classical processing stage, our cost estimates allow for crude, but direct, comparisons of classical and quantum algorithms. We exhibit a circuit for a pre-image attack on SHA-256 that is approximately $2^{153.8}$ surface code cycles deep and requires approximately $2^{12.6}$ logical qubits. This yields an overall cost of $2^{166.4}$ logical-qubit-cycles. Likewise we exhibit a SHA3-256 circuit that is approximately $2^{146.5}$ surface code cycles deep and requires approximately $2^{20}$ logical qubits for a total cost of, again, $2^{166.5}$ logical-qubit-cycles. Both attacks require on the order of $2^{128}$ queries in a quantum black-box model, hence our results suggest that executing these attacks may be as much as $275$ billion times more expensive than one would expect from the simple query analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。