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

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

723 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 (55)

  1. Can I ask a dumb question? If the problem is that AIs have become superhuman at cryptanalysis, how does being "post-quantum" help? IIUC, these post-quantum cryptosystems were designed to be resistant to quantum algorithms like Shor's. They weren't designed to be resistant to AI. In other words, if the real issue is that our puny human minds are just being massively outmatched, why do we think an AI won't just find new problems with post-quantum algorithms?
    Replies (22)
    1. Thanks for posting this, I have been trying to articulate the exact same question all morning.
    2. We need post-AI algorithms.
    3. Also unclear if the risk is well we know how to crack it so long as we’ve got a quantum computer to point to it. Then sure if it’s a crypto currency wallet for binance with 100mil dollars that’s an issue. But for 99% of us the risk isn’t meaningfully worse (near term).
    4. Well, actions are constrained by more things than intelligence. If P=NP we would have a big problem, but AFAIK there's no good reason to assume it's true.* That's not really changed by there being a greater-than-human intelligence (in certain regards) now. Just because we're not on par, our educated guesses aren't automatically bad. E.g. the Riemann hypothesis was widely believed to be true, and now is proven to be true.

      (*Even then, one time pads would still be safe. Which would ofc be little consolation for practical cryptography.)

    5. There's no such thing as being "resistant to AI". Models can only find flaws that already exist, they can't make up ones.
      Replies (1)
      1. There's quite a few people resistant to AI in open source :)
        Replies (1)
        1. And I'm one of them, however I was referring to software here.
    6. I’m working under the assumption that NSA and others have considered this and come to the conclusion presented. Transition to PQC now, but also work on updating processes to be able to transition again later.
    7. The implication that post-quantum == AI safe is creating confusion. My understanding is that some classical encryption algos are safe, some classical algos are not safe, some post-quantum algos are safe, and some post-quantum algos are not safe. The imperative is to deprecate the specific algos which don't fall into the Venn diagram space that is safe from both quantum and AI.
    8. > why do we think an AI won't just find new problems with post-quantum algorithms?

      AFAICT: We don't think that. AI may very well find problems with those as well. It's just that post-quantum crypto is so far the strongest kind of crypto we know of, and so it's our best current bet for keeping stuff safe for as long as possible. But there's no guarantee that we won't need something even stronger eventually. (Note that there's no guarantee that something stronger exists at all, either.)

      Replies (3)
      1. It's more that it's the one that has had the longest period of scrutiny and attention from the cryptography community - that matters more than "can a quantum computer break it" - the original point is true though, if AI can effortlessly poke holes in asymmetrical encryption it may very well find a weakness that invalidates the need for a quantum system to break.

        I think it's not "this is flawless" but "this is our best bet", which is a bit depressing to think about.

        Replies (1)
        1. Yes this is the answer I was afraid of. Humanity has been preparing for quantum computing for a long time. We came up with a whole playbook for how to deal with it. Now that AI has taken us by surprise, we're just using the only playbook we have: deploy the post-quantum algorithms and hope for the best.
          Replies (1)
          1. Also what I was afraid of. If we take it a step more, we can also conclude that AI is the only entity that can answer what the best algos would be, and it's one more mark in the "well, I guess we have no option but to trust it" column which is utterly terrible. Four years or so ago I thought even what we are able to use today was decades away, and so did most other people I think. I wonder why QC felt so much more imminent, or at least possible? Too much sci-fi made what we have today seem like a fantasy? In hindsight, we could have been figuring out strategies for alignment and other things long ago, instead of at the edge of our seats hoping the frontier figures it out. Whoops.
            Replies (1)
            1. > Four years or so ago I thought even what we are able to use today was decades away, and so did most other people I think. I wonder why QC felt so much more imminent, or at least possible?

              QC has slowly been working on error correction and spinning up more qubits so it’s always seemed closer to something functionally useful. It hasn’t demonstrated anything commercially useful, as far as I know, but quantum computers have always more impressive than previous chat bots like ELIZA. Transformers at scale really did a number on our expectations.

      2. What makes one form of crypto "stronger" than another against mathematical proofs?
        Replies (1)
        1. It has spent more time considering potential attack vectors and mitigated them.
      3. Maybe our best bet is AI finding post-human cryptography. I truly hope that better cryptanalysis by AI also lead to better algorithms. I guess the game is now on another level. Interesting times to be in.
    9. And of course, the number theory behind RSA and ECC is much better understood and has been studied for centuries. Post-quantum cryptography is relatively new. Its much more likely AI will find weaknesses there than that it will completely break ECC.
      Replies (1)
      1. Some PQC candidates rely on similar math, but applied in different ways. Isogenies come to mind -- built on the same underlying math that ECC is built on, but used in a way that rules out Shor's algorithm (and related approaches).
    10. Can we design these systems in a way that allows us to dynamically swap out the underlying cryptographic algorithms without being stuck with a massive migration problem every time one gets cracked? I feel like something along those lines will eventually be needed.
      Replies (3)
      1. For the most part you can - most encrypted systems let you swap out encryption algorithms, the interface is just plaintext => cyphertext.

        The problem is that for this to work across a communications channel, both sides of the communication channel need to support the new cypher. And for it to work for a standard, all implementations of the standard need to support it. So this is a social coordination problem, which is one of the toughest types of problem to solve.

        Incidentally Matthew Prince's Tweet explicitly calls out not holding any cryptocurrency:

        https://x.com/eastdakota/status/2128346213632348333?s=20

        And the problem there is the same, but magnified. To upgrade a cryptocurrency project, you need to get every miner to upgrade. Otherwise you'll have mutually unintelligible protocols and the ecosystem will fork. This is challenging - it's doable (see how EIPs are handled), but it requires a lot of coordination from different parties that don't all operate on the same timetables.

        Replies (1)
        1. > you need to get every miner to upgrade.

          You need to get a quorum of miners to upgrade, not every.

      2. We need "transphasic torpedo"-style encryption going forward perhaps.
      3. Wireguard's recent blog post points to them having designed their software this way.
    11. > If the problem is that AIs have become superhuman at cryptanalysis

      The problem is presumably they found something specific, not that they (yet) destroyed everything.

    12. > “If the problem is that AIs have become superhuman at cryptanalysis, how does being "post-quantum" help?”

      It’s really just a term to refer to next-generation cryptographic algorithms that are more secure than conventional ones.

      Perhaps “post-quantum cryptography” should now be renamed “post-AI cryptography”.

      Replies (1)
      1. So far AI has done very little, as can be seen from the fact that the NS still recommends MK-Kem.

        We first need to see this alleged ECC break, which will likely generate months of secrecy, vague-posting and hype and the turn out to be another galactic algorithm.

        Replies (2)
        1. > So far AI has done very little

          Who are you people??? Do you live under a rock?

        2. ML-KEM surely falls into the post-quantum (post-AI) category?
    13. So far we have one galactic (useless) algorithm for ML-Kem that was hyped before the release. Now elliptic curve cryptography breaks are leaked:

      https://www.schneier.com/blog/archives/2026/12/nsa-urging-tr...

      "I just heard from a reliable source that ECC P-256 was broken."

      It will likely turn out to be another galactic algorithm and the NSA is using it to hype MK-Kem and the Anthropic stock price.

      After all Anthropic has been valuable in "proving" that the constants for NSA's own algorithm were not magic.

      Misdirection all the way.

    14. Because this is a massive ploy, and it doesn't help us at all. It instead helps the NSA and other gov. agencies because for the first time ever they get to install a crisp, fresh backdoor into every digital channel of communication at an unprecedented scale.
    15. The goal of cryptography isn't really to come up with an algorithm that we don't yet know how to break, it's to come up with an algorithm that can't be broken no matter how smart the attacker is. I.e. all cryptography was designed to be resistant to AI.

      The question is "does the design achieve it's goal". We don't know. We haven't managed to prove any of it actually works (to do so would likely requiring P!=NP - though I guess you could make an argument that some even less likely fine grained complexity theory result could also work).

      There's a strong suspicion that quantum computers can solve a broader class of problems than classical computers. If that's not true though, then non-quantum resistant algorithms are broken on classical computers (because we know how to break them on quantum ones) and we need to switch to "post quantum" cryptography regardless of whether anyone manages to make a quantum computer. One form of result that could be causing a panic here is proving that quantum computers are no better than classical ones (BQP = BPP: BQP is quantum computers in polynomial time, BPP is classical computers in polynomial time with a source of randomness).

      Meanwhile if it is true that quantum computers can solve a broader class of problem, there's probably at least an intuition that algorithms that we think (but don't know) are secure against quantum computers are even more likely to be secure against classical computers. After all, if we did somehow know they were secure against quantum computers they would definitely be secure against classical computers.

      Replies (2)
      1. >There's a strong suspicion that quantum computers can solve a broader class of problems than classical computers. If that's not true though, then non-quantum resistant algorithms are broken on classical computers (because we know how to break them on quantum ones)...

        You can't just ignore practicality for things we implement and use. Non-quantum resistant algorithms are broken on classical computers only if someone figures out how to make them do that in some reasonable time. The fact that a theoretical idea exists for something called a "quantum computer" does not change that fact. I am skeptical about the rest of the argument here for the same reason.

        Replies (3)
        1. > are broken on classical computers only if someone figures out

          No, they're broken if someone could figure out how to make them do that in some reasonable time, we don't design cryptography for just what people have already figured out.

          > The fact that a theoretical idea exists for something called a "quantum computer" does not change that fact.

          Nothing in that paragraph requires actual quantum computers exist. It requires that we prove that classical computers (which definitely aren't just theoretical) can do things as quickly as theoretical quantum computers theoretically could.

        2. its the holidays and billionaires want to participate in buying everything on sale so they created yet another fear cycle sell off
        3. I like to relate this to Go (the board game), because that's a thing I understand a little bit about.

          Prior to AlphaGo, the game was broadly thought to be uncomputable. There were some Go-playing programs, and they were okay in the way that chess programs were in the early 90s: challenging for beginners, but easy for experts to defeat. They were built out of big piles of heuristics and made many errors that were recognizable to experienced players.

          A Go board has somewhere in the neighborhood of 2 x 10^170 legal positions. There are only ~10^80 atoms in the observable universe, so obviously, that means it's impossible for classic computers to play Go well.

          Along comes AlphaGo, and it turns out that classic computers can play Go perfectly fine without having to compute all 10^170 legal positions. We had a limitation in computational approach, not a limitation in computational power.

          So I could see there being a similar case for classical cryptography. Perhaps deep neural nets have found a way to computationally attack classic cryptography that we didn't think of. Perhaps that will work just fine on modern computing hardware. I don't know; I'm too dumb to know the answer to this right now. But I won't be completely surprised if that turns out to be the case.

      2. perhaps another way of stating your first sentence is that cryptography is not designed to be unbreakable, but rather its designed such that breaking it is resource-constrained not intelligence-constrained. That is, it's fine if everyone knows exactly how to "break" the encryption, so long as the effort involved is functionally impossible.

        As computing has gotten more efficient, the definition of "impossible" is moving. But the goal has always been that intelligence isn't a necessary (or useful) factor to break cryptography.

        Replies (2)
        1. I'd agree with that.
        2.   > As computing has gotten more efficient, the definition of "impossible" is moving.
          
          And it is important to note that encryption levels aren't "if global computing increased by 10x and all of it was dedicated to cracking your password, it'd get owned" but more like 10^46x to break a 256 bit password. Assuming you could organize all computer power to cracking one password and had a year to do it.

          I don't think people realize the margins that are being used. People can't conceptualize even numbers on the order of 10^4 very well. Let's say you had $10^46 and then painted the earth in $100 bills. Your stack of money would reach Uranus. If that was a column with the base with the same area as the earth's surface, it would not only reach andromeda but could do so several times. Your stack of money would have a similar mass to the Milky Way.

          It doesn't matter how smart the attacker is, the limit is physics

    16. It doesn't. We don't have quantum computers to break them and probably won't have them ever

      It's a PR stunt

    17. My minimally educated understanding is that there's no proof for pretty much any algorithm to be secure. One (and maybe the only) exception is one-time pad.

      Maybe AI can find an algorithm that's provably secure, and not unreasonably convenient like a one-time pad? Maybe that's already proven impossible, I don't know.

      Alternately, maybe AI can make an algorithm that's good enough that AI can't break it. That's what humans did vis a vis other humans. Can you trust that the AI doesn't secretly know how to break it? I don't know how much that bothers me. Do I feel like my privacy has been violated if an AI reads my text messages without telling a human?

      Replies (2)
      1. I went down this same path of thinking today myself. When cryptocurrency first showed up I attempted to understand it from a very high level of "does this make sense?" And I try to always start those thoughts as close to ground truth as I understand it as possible. My conclusion was "no" because "everything is breakable with the key, therefore everything is breakable." Again today I was also thinking about the OTP.. the one cypher I had always believed that the only way to break it must be the key, because who would have the compute to test all of the variations, etc (this is from my limited understanding of cyphers and the like) via brute force. But now we have AI models that are trained consuming and making sense of unimaginable numbers of tokens, and even if it has to be brute forced, I should think the only thing stopping a model cracking a cypher text would be perfect randomness in the key. But who knows. I'm sure we'll find out soon enough.
        Replies (1)
        1. With OTP: not only would they have to brute force it, they would have no way of knowing when they got the right answer. Assuming a constant length, literally anything of that length could be the plaintext.
          Replies (1)
          1. Yeah, I definitely see that anything of the length would could be the original plaintext, though I should think a combination of context plus not 100% perfect entropy would be plausible to break? I ponder these things that I am nowhere near even a novice in, I realize.
      2. Yeah unfortunately the first step to proving the existence of secure cryptography is proving P!=NP
        Replies (2)
        1. And then prove that RSA or whatever else in NP Complete. And that's it, right? Obviously a big haul but these days it seems plausible. Less bad than I thought.
          Replies (2)
          1. In addition to P!=NP you'd also need to prove the existence of one-way functions, i.e. functions that are P but their inverse is NP (which are not guaranteed to exist just because P!=NP).

            If you prove breaking e.g. RSA/DH/ECC/etc is NP, that would be an example of a one-way function of course. But it might turn out that actually proving some function is one-way is way harder than proving they exist at all. (In fact, it seems quite likely.)

          2. You do not actually need NP completeness, and technically NP completeness would not be sufficient as it is only worst-case hardness (cryptography requires average-case hardness). RSA is probably not NP complete anyway; it is in the intersection of NP and coNP, and an NP complete problem in that class would imply PH=NP (which most complexity theorists think is false).

            What you actually want is a lower bound proof on factorization (or discrete logarithms, etc.), which would also imply P!=NP.

        2. Technically you don't need P!=NP. You just need to prove a bound on breaking your cryptography that you find acceptable. For example you can have some hash that is O(n^3) going forward and O(n^100000) going backwards. Or something like O(2^n) forward and O(2^(n!)) going backwards. If you could prove bounds like this you would have a secure hash, but not a proof that P!=NP. The P!=NP discussion comes from the fact that our cryptography algorithms tend to be in P, so P=NP would imply that breaking our cryptography algorithms would also be in P, combined with an expectation that most algorithms in P have low degree.
    18. It's not a dumb question. I think it's pretty obvious to many that the human era, the human epoch on Earth is ending. Terrible to live in interesting times.
    19. All of crypto is on a hill of sand, to the degree that we don't have provably hard lower bounds on the fundamental math. That includes both non-quantum and quantum methods.

      AI could break the new "post-quantum" methods, or it could find a proof that there's a lower computational bound that finally puts them on strong mathematical footing.

      But that was the same situation as without AI. We don't know! Yet we must carry on with what we can. The only change is the pace of mathematical discovery. Fully post-AI crypto might rest on AI proofs that show these lower bounds.

    20. We've had to change our crypto algorithms before AI too. Why are we worried about potentially having to do it again now? We also have AI for developing these algorithms too.
    21. I think it may just be sort of just a coincidence. It's not the quantum resistance that matters for this situation. It's just that there was already a plan to move to a certain set of post-quantum algorithms, and it happens to be that vulnerabilities were found in the old set of actual algorithms but not the new set. So the practical move is to accelerate the transition.

      Suppose you start having knee problems so you make plans to move from your two-story house to a one-story house because you know eventually you won't be able to handle the stairs. Then you discover that your two-story house has a hidden water leak that may have created toxic mold. So you accelerate your existing plan to move. It's not that one-story houses have greater immunity to leaks or mold. It's that the two-story house you happen to live in has that issue.

    22. well when anthropic sends out a purchase order for a quantum computer that is more than a few thousand qbits(not even feasible) to break into sytems, we can just put their executives in prison like we should have already.