r/ProgrammerHumor • • 13h ago

Meme postQuantumReadiness

Post image
7.4k Upvotes

188 comments sorted by

View all comments

Show parent comment

2

u/MinecraftPlayer799 9h ago

So larger keys aren’t always more secure?

5

u/FirstRyder 6h ago

It's about Big O notation. O( 2N ) is "slower" than O( N1010 ). Only for N greater than 385 billion, but we evaluate algorithm speed by how fast it grows as N approaches infinity.

So the time to solve grows with each added bit, but beyond a certain point the new algorithm is faster than just guessing. But that point is beyond any reasonable key length, meaning "just guess" is still faster on any actual encrypted data.