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

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