Wouldn’t that mean cryptography would be impossible?

A lot of things in the modern world seem to be based on the assumption that P≠NP, so what else would break? What would be made possible or improved by P=NP?

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    4 days ago

    As far as I know that breaks asymmetric crypto. It’s not the only form of cryptography, we also have symmetric crypto. But you’d have to find some way to transfer the keys, do handshakes and signatures…

    I’d say it’d lead to drastic changes. Like we’d need to revert to paper money. And snail mail for important documents.

    • Thorry@feddit.org
      link
      fedilink
      English
      arrow-up
      14
      ·
      4 days ago

      This is not true. It only shows there is in principle a way to get for example the factors of a number within polynomial time. This does not mean we now suddenly know how to actually do that. Just that a way exists in principle. Also polynomial time doesn’t need to mean fast or cheap in terms of compute. Just that the amount of compute needed is known beforehand. It could still be very expensive, more expensive than it would be worth. And with certificates having shorter and shorter lifespans, it would get harder and harder to get the key in time.

      From a maths point of view it would be mind blowing. And it could mean some forms of asymmetrical encryption could be less effective, this isn’t by definition the case.

    • birdwing@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      Correction, “tech bros” will be using paper while forcing everyone to go digital to be vulnerable.

      Rules for thee (proletarians) but not for me (oligarch)

  • PetDinosaurs@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    3 days ago

    Nothing happens if P=NP except for some science. (Good science, imo. Edit: maybe math? Close enough.)

    I’d suspect that it would teach us something, but I don’t suspect that easy solutions to hard problems immediately become obvious.

    A solution that is O(N^1000) is still equally intractable for most human sized problems.

  • theneverfox@pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    A lot of really useful problems become solvable, and encryption would need to change a lot

    We’d probably have to do more physical security, we can do stuff to avoid point to point interception and we could use still use cryptography, but instead of it mathematically proved security it would be just another layer of defense. We’d probably have to get rid of remote access for anything important

    But p=np is a class of problems, it’s not one code to be cracked. If one is solved we can still use unsolved ones for our cryptography needs

    So realistically it would probably be a lot of chaos and anything sensitive on the Internet would have to go down until a new system of trust can be rolled out… It could become an arms race (it already is, but so far it’s been slow enough we could stay ahead of it for the most part)

    Or maybe everyone loses their minds and we go full cyberpunk 2077 style

  • Lumidaub@feddit.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 days ago

    I have no idea how any of this works, maths has always gone way over my head, but this sounds so funny to me. Imagine if someone made a new discovery in medicine and suddenly aspirin just doesn’t work anymore.

      • Lumidaub@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        That is very scarinteresting, thank you for that, but in my scenario there’d be no form 2, still the exact same drug in every aspect, just no effect.

        • Deconceptualist@leminal.space
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          At the end of that first video is a scientist who discovered the first polymorph of aspirin. It might genuinely do nothing phamacological (unlike to the familiar drug), I don’t actually know. If that’s the case and it took over, it would be exactly the scenario you propose.

  • OneCardboardBox@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    4 days ago

    There is plenty of cryptography which would not be broken, like certain symmetric cryptography.

    I think the big implication would be philosophical: You’d get a bunch of AI bros trying to prove that writing a good song is P hard and identifying a song as good is NP hard just so they can mathematically justify slopping out music with a few keystrokes and saying that the two are now indistinguishable.