r/computing • u/coval-space • Jun 12 '23
How many qubits would make SHA-256 obsolete?
From a mathematical perspective, considering coherence time of the qubits, error rates, and the implementation of Grover's algorithm what are the theoretical specs of a quantum computer that would render SHA-256 obsolete?
15
Upvotes
View all comments
Show parent comment
1
u/coval-space Jun 13 '23
Thanks for sharing! Here is the full paper:
https://www.sussex.ac.uk/physics/iqt/wp-content/uploads/2022/01/Webber-2022.pdf
Looking at it briefly it looks like this figure is actually not for SHA-256 but rather 256-bit elliptic curve encryption (ECC).
While 13 million is the number of qubits required to crack an 256-bit ECC public key within a day, apparently this public key is only vulnerable to attacks for a short period of time. Typically 10 minutes but could be up to an hour or longer.
This means a feasible quantum computer would only be able to crack public key encryption with a qubit number ranging from 33-300 million depending on bit error rate (the most optimistic value being 10-4).
Based on my understanding, ECC is actually harder to crack than SHA-256 with brute force because of the computational complexity of trying each input. This paper doesn't provide a value for SHA-256 and instead says this method of attack is less feasible than ECC. I'm not sure why.