Skip to content

Comment on Ask HN: If you found an easy way to factor large numbers, would you tell anyone?parent

Comments

A lot of widely-used cryptography relies on factoring large numbers being difficult.

Are we using "difficult" to mean "takes longer than the universe"? Since presumably that would be why we trust it for cryptography?

Basically, yes. When we talk about how fast an algorithm is, we usually talk about how much longer it will take to run when you increase the length of the input.

Encryption works because you can double the size of the encryption key and make it take [very large number] times more operations to break the encryption (twice the work to encrypt+decrypt if you have the key, but tremendously harder to crack into without the key).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.