Live data from Hacker News

Breaking RSA with a quantum computer?

schneier.com

121–130 of 161 posts

Re: Breaking RSA with a quantum computer?

#121

Who was the guy and what was the flawed and retracted paper mentioned in the below quote from Schneier's article? >In email, Roger Grimes told me: “Apparently what happened is another guy who had previously announced he was able to break traditional asymmetric encryption using classical computers…but reviewers found a flaw in his algorithm and that guy had to retract his paper.

Schnorr's "This distroyes the RSA cryptosystem"?

Re: Breaking RSA with a quantum computer?

#122

I want to contrast this paper with Shor's factoring paper [1]. One of the things that stands out to me about Shor's paper is how meticulous he is. He is considering the various ways the algorithm might fail, and proving it doesn't fail in that way. For example, the algorithm starts by picking a random seed and you can show that some choices of seed simply don't work. He proves a lower bound on how many have to work.…

Lenny Baum, Lloyd Welch, and their colleagues at IDA were using the EM algorithm for code cracking well before they were able to prove anything about its convergence.

EM worked in practice, so they spent a long time trying to prove convergence. Modern proofs are simpler.

Could be the case that this method also works in practice. I haven't the faintest idea whether it will.

Re: Breaking RSA with a quantum computer?

#123
post #98

> A group of Chinese researchers have just published a paper claiming that they can—although they have not yet done so—break 2048-bit RSA. If a quantum computer can break 2048-bit RSA, what about elliptic curves?

Elliptic curves are also vulnerable to Shor's algorithm. However, there are several new algorithms for asymmetric cryptography, such as Google's NewHope: https://en.wikipedia.org/wiki/Post-quantum_cryptography https://en.wikipedia.org/wiki/NIST_Post-Quantum_Cryptography...

I had the same question as OP and you seem to have misinterpreted the question. Specifically this article is about showing a meaningful reduction in the Quantum bits required for Shor's algorithm by pairing it with lattice reduction (whatever that means). Does this approach of combining classical lattice reduction technique + quantum Shor's hold for elliptic curves? Are there any other problems beside cracking crypto algorithms that this technique could be applied to that might actually be useful vs just a more complicated attack vector?

Re: Breaking RSA with a quantum computer?

#124

Earlier quoted context omitted.

Let me know if you find such a betting venue... I'll take the same side. I'm aware of both Microsoft and Google publishing papers claiming astounding quantum feats, then later retracting them (I have to assume there were similar instances with lesser known companies). I think your skepticism is valid.

For the Microsoft one I'm assuming you're referring to the retraction of the detection of Majoranas [1]. Do you have a reference for a Google quantum paper being retracted? I don't recall an instance of that (disclaimer: I am on the Google quantum team; my views do not represent them). 1: https://www.nature.com/articles/s41586-021-03373-x

Not a retraction, just that many of the claims about supercomputer performance were easily shown to be less than accurate, making any claims about supremacy less exciting.

Re: Breaking RSA with a quantum computer?

#125
post #2

Huge, if true. However, many such claims have surfaced before and turned out to be dudds. For now, I am taking it with a spoon of salt but with an interest of any follow-ups and peer review.

I think history will show that the current state of the art quantum cypher breaking is well ahead of what is being discussed here.

Re: Breaking RSA with a quantum computer?

#126
Here's an implementation of Schnorr's algorithm with an attempt to estimate the amount of work needed to factorize big numbers: https://github.com/lducas/SchnorrGate

It also contains some links to critique of the Schnorr's algorithm paper. It looks like either much more p_n-smooth integer pairs are needed or the size of the p_n-smooth integers should be much bigger than estimated by original Schnorr's paper. Or both estimations are off.

As the paper discussed Schneier relies on the assumptions of the (classic) Schnorr's algorithm, it may also be off in the calculations as well.

Re: Breaking RSA with a quantum computer?

#127
post #13

Earlier quoted context omitted.

In the worst possible case we just switch to the one time pad encryption, which makes things inconvenient but literally can't be cracked by any computer or algorithm(tldr: the length of the key is as long as the length of the message, so a message can decode into anything and you can't tell whether the text you decoded is the right one or not). So a scenario where literally no encryption is available seems far fetche…

Isn't the problem with one time pads distributing the pad? Like, you would have to walk to a bank and have them hand you a piece of paper... and tellers could read the paper before handing it to you. So basically so ineffective in practice as to be unusable?

The distribution part have gotten a lot easier. I would be very possible for banks to give all their customers USB devices with a few GByte of one time pads and keep a copy of those same GBytes in their own systems.

And most banks still have brick-and-mortar stores where customers could come and identify themselves and collect their one time pad.

And a GByte of keypads would cover your banking need for a long time.

The problem is more that it works for some one-to-many relationsships such as banks, but not many-to-many relationships, such as emails, websites, etc. There have to be second or third parties.

On the hand, a lot of people seems to log in everywhere with Google Sign In or similar anyway.

And we could instead all have Google or Amazon devices with GBytes of one time pads. And that could be used to set up symmetric encryption, which should be more resistant to quantum computer attacks.

The only drawback is that we would have to trust the third party and everyone who could compromise the third party and every government that could put pressure on the third party :-)

Re: Breaking RSA with a quantum computer?

#128
post #33

You divide the number of physical qubits by 5 to get the number of fault tolerant error corrected qubits. [0] If their algorithm works, they need a 1860 (372*5) qubit computer to break 2048 bit RSA. IBM expects to get there by 2025. [1] [0] https://en.wikipedia.org/wiki/Five-qubit_error_correcting_co... [1] https://www.ibm.com/quantum/roadmap

If the paper is to be believed you are wrong in two different ways:

1) If the paper is right, they are claiming they need 300ish physical qubits that can sustain about 1000 gates before decohering. No need for scalable error correction.

2) Independently of the veracity of the paper, if you actually need logical error corrected (and fault tolerant) qubits, you need error correcting codes with much more severe overhead than the 5-qubit code. The 5-qubit code is a pedagogical example, not something that would actually work under realistic conditions. And even the 5-qubit code needs quite a few extra ancillary qubits for fault tolerance (which is more expensive than simple error correction).

Re: Breaking RSA with a quantum computer?

#129
post #51

so just increase to 4096 or 8192 bits or beyond?

Why is this downvoted? Ain't it exponentially harder to break RSA using qubits each time you double the key length? Until we switch to quantum resistant algorithms, we can keep doubling the key length for some time no? 8192 bits should still be acceptable speed wise (if we consider that 2048 bits is broken, then I'll take slower operations over broken keys any day of the week).

No, if you have a scalable quantum computer (which no one has yet), then doubling the key size just requires doubling the number of logical qubits. That is for asymmetric encryption that uses "hidden subgroup problems", like RSA. We have newer asymmetric algorithms that are resistant to quantum attacks, they are just not well tested yet.

Re: Breaking RSA with a quantum computer?

#130
post #52

Earlier quoted context omitted.

I would think most encryption at rest done using AES128/256, which is already quantum-resistant. It's mostly the key management which is at risk due to more heavily used RSA for asymmetric wrapping of keys.

AES-128 is effectively AES-64 when quantum computers exist which can run Grover's algorithm. That's not a huge exponent.

It's been pointed out that Grover's algorithm parallelizes very badly. So not AES-64. It probably will turn out that AES-128 bit is perfectly fine as it has a tremendous amount of margin to start with
Post reply on HN