Paper 2025/2277

Quantum Resource Analysis of Low-Round Keccak/SHA-3 Preimage Attack: From Classical 2^ 57.8 to Quantum 2 ^28.9 using Qiskit Modeling

Ramin Rezvani Gilkolaei, Department of Computer Science, Guilan University, Rasht, Guilan 41335-1914, Iran
Reza Ebrahimi, Department of Computer Engineering, Iran University of Science and Technology, Tehran, Iran
Abstract

This paper presents a hardware-conscious analysis of the quantum acceleration of the classical 3-round Keccak-256 preimage attack using Grover’s Algorithm. While the theo- retical quantum speed-up from T cl ≈ 2 ^57.8 (classical) to T qu ≈ 2 ^28.9 (quantum) is mathe- matically sound, the practical implementation overhead is so extreme that attacks remain wholly infeasible in both resource and runtime dimensions. Using Qiskit-based circuit synthesis, we derive that a 3-round Keccak quantum oracle requires: • 9,600 Toffoli gates (with uncomputation for reversibility) • 3,200 logical qubits (1,600 state + 1,600 auxiliary) • 7.47 × 10 13 total 2-qubit gates (full Grover search) • 3.2 million physical qubits (with quantum error correction) — PROHIBITIVE • 0.12 years (43 days) to 2,365+ years execution time, depending on machine assumptions These barriers—particularly the physical qubit requirements, circuit depth, and error accumulation—render the quantum attack infeasible for any foreseeable quantum computer. Consequently, SHA-3 security is not threatened by quantum computers for preimage attacks. We emphasize the critical importance of hardware-aware complexity analysis in quantum cryptanalysis: the elegant asymptotic theory of Grover’s Algorithm hides an engineering overhead so prohibitive that the quantum approach becomes infeasible from both resource and implementation perspectives.

Metadata
Available format(s)
PDF
Publication info
Preprint.
Keywords
Quantum CryptanalysisKeccakSHA-3Grover’s AlgorithmQuantum Re- source EstimationQiskitCircuit Synthesis
Contact author(s)
rezvani ramin @ webmail guilan ac ir
History
2025-12-22: approved
2025-12-18: received
See all versions
Short URL
https://ia.cr/2025/2277
License
No rights reserved
CC0

BibTeX

@misc{cryptoeprint:2025/2277,
      author = {Ramin Rezvani Gilkolaei and Reza Ebrahimi},
      title = {Quantum Resource Analysis of Low-Round Keccak/{SHA}-3 Preimage Attack: From Classical 2^ 57.8 to Quantum 2 ^28.9 using Qiskit Modeling},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2277},
      year = {2025},
      url = {https://eprint.iacr.org/2025/2277}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.