• rockSlayer@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    3
    ·
    9 hours ago

    I’m not about to get into the weeds about P vs NP to explain a concept to someone that doesn’t know much about encryption in the first place. I’m aware that factoring isn’t really NP complete, but P vs NP is about solving vs verifying solutions for something in Polynomial time, which can’t be done via brute force for RSA keys.

    • a_non_monotonic_function@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 hours ago

      really NP complete

      I don’t care who you want to get in the weeds with or what you wish to spar about, you’re just not correct.

      There is no almost NP complete. There are strong and weak variants, sure, and those have particular implications.

      But you’re drawing conclusions that don’t exist from definitions that you clearly don’t understand.

      Signed: Somebody who has taught theory of computation for over a decade.

      • rockSlayer@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        7 hours ago

        If you want to be pedantic, fine. Integer factoring is not in P. Therefore the math used to encrypt RSA is not in P. The usage of integer factoring to encrypt therefore means it can’t be decrypted in P using brute force. That’s the point I’m making.

        • a_non_monotonic_function@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          7 hours ago

          We actually don’t know if integer factorization is not in P, though.

          Right now, I think most of us would guess that it is a prime candidate for NP Intermediate. Hence why I mentioned it earlier.

          And you absolutely can solve it in polynomial time just not with classical architectures.