Unofficial Hacker News companion — get notified on comment replies, and more.

Cloudflare will be fully post-quantum in 2027 (opens external site)

725 points by jupenur 11 hours ago blog.cloudflare.com 397 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (12)

  1. Can someone explain to me, as someone who hasn't been following cryptography or quantum computing since college: what does it mean to be "post-quantum"? Does that mean they have to use a quantum computer to do their cryptography?
    Replies (7)
    1. its supposed to be encryption that holds up after Quantum supremacy (the point at which quantum computers are better than standard computers). Post, as in, after.
    2. It's believed that classical cryptographic algos can be broken by quantum computers.

      There are other algos that have been developed that are resistant to breaking by quantum computers.

    3. It means the algorithms are intended to be resistant to quantum compute enabled cryptanalysis.

      Essentially that it will be hard to break this cryptography even with quantum computers.

    4. It means using crypto for which there aren't know attacks that use quantum computers.

      For example, RSA can be broken in polynomial time using Shor's algorithm, so if you rely on RSA, you aren't "post quantum".

    5. Some algorithms are hard to run on classical computers, and that level of difficulty is used to give certain guarantees about how hard it’d be to break some encryption.

      Quantum computers can run some of these more efficiently - as a basic example you can search an unordered list of items in O(sqrt N).

      Not every algorithm though, it’s just certain ones scale differently.

      PQ encryption is supposed to be secure even if quantum computers exist at a scale to run real workloads (rather than “factor 21”).

    6. No, no quantum computers needed. Cryptography depends on math problems that are very easy to check (do you have the right key/password) and incredibly difficult to find the answer to if you don't know the answer (it's very hard to guess the key/password). Some of these math problems are shaped in a way where, if/when quantum computers become more capable, it would probably be pretty easy to start solving for the answer (making it easy to guess the key/password). Post-quantum cryptography moves to a different flavor of math problem that isn't just harder, but structured in a way that is not (or, less) vulnerable to quantum computers breaking it.

      The advice right now is, go to post-quantum cryptography right now, please, and hurry; so says the NSA and a variety of other powerful organizations. None of them have said exactly why beyond a vague "AI is moving fast," but it might be due to AI potentially (or already) finding faster ways to solve for the key of pre-quantum encryption even without quantum computers.

      Replies (2)
      1. An example is factoring a big number. If I say 35 you know it's 5 times 7, but if I say a number that's 1000 digits long, good luck.

        RSA encryption works based on one person knowing two prime numbers, but everyone else just knows them multiplied together and can't unmultiply them.

        Quantum computers theoretically might be able to factor numbers really well, although nobody's managed to build one big enough to factor a number bigger than 21 (not 21 digits, just 21). Still people are advised to be prepared by not using RSA encryption.

      2. Hmm. I think I see what they're saying but I still don't feel helped by this because the message seems to be aimed towards a general software community while only expert researchers, if even them, would have a hunch of what a mitigation that makes business sense might even imply? What is unbreakable by AI or quantum computing and what is the concrete upgrade path? Is there even a realistic path today?
    7. $($RANDOM | md5sum) is easy to reverse on quantum computers or something. But it doesn't mean that everything is instantly solvable by quantum machines; just some of existing functions that supposedly require a lot of compute but theoretically solvable by such an analog parallel machine that can hold all the candidate states at once and solve it physically by making the right sets of data constructively and destructively interfere or something, are. So people way smarter than I am designed couple new functions that still takes lots of rounds or just hard to solve that way and are calling it post-quantum cryptography.
      Replies (1)
      1. Hashes aren't at risk to quantum computers except in the way that you should double the needed size to account for Grover's algorithm which can brute-force anything in the square root of how long it should take.

        Some people argue Grover's algorithm isn't a threat, because it's not parallelizable. I say double the hash size anyway, it doesn't hurt. You should do that anyway because of birthday attacks. (Even if your application isn't susceptible to birthday attacks, just do it anyway, it doesn't hurt)

        So for a 128-bit security level (typical minimum) use a 256-bit hash.

        Replies (1)
        1. 9 comments in the last 13 mins from you, not a single typo. Are you just prompting your comments?