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?

  • PetDinosaurs@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    33 minutes ago

    Nothing happens if P=NP except for some science. (Good science, imo)

    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.

  • Lumidaub@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    38 minutes 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.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    4 hours 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
      4
      ·
      2 hours 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
      1
      ·
      2 hours 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)

  • OneCardboardBox
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    5 hours 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.