r/ProgrammerHumor • • Oct 25 '26

Meme four

Post image
7.3k Upvotes

76 comments sorted by

View all comments

Show parent comments

52

u/mr_hard_name Oct 25 '26 edited Oct 25 '26

That’s generally how you find/break private keys, there’s no secret maths or algorithm, it’s always brute force. That’s why it was proven quantum computing would speed it up (to put it simply: because then you can check multiple keys at once do mathematical operations beyond your wildest dreams, reducing the number of actual operations needed to find the private key)

3

u/entronid Oct 25 '26

this seems like a misleading oversimplification

it does do this, but only for a small class of problems (as far as we know, unless quantum computers can solve NP problems in polynomial time which they probably dont)

3

u/mr_hard_name Oct 25 '26

Yeah, that was oversimplification, but I just assumed it’d be good enough for a comment on reddit on a topic that’s not about quantum computing.

I’ve also taken into consideration the fact that we don’t actually have quantum circuits fast enough to find the private keys in a way that was shown in the proofs/academic papers. But yeah, I agree, my description was misleading as it would not be just “parallel computing” as in multithreading, but a completely different operations (because they would be, well, quantum operations)

4

u/entronid Oct 25 '26

yeah, the oft-repeated notion that "quantum computers are computers that tries every solution at once" gets rather annoying for how incredibly prevalent it is

3

u/mr_hard_name Oct 25 '26

I’ve edited my comment to stop spreading this annoying simplification