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

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

724 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 (5)

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