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 (8)

  1. 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