An unofficial, read-only Hacker News reader.

AI on brink of making online security useless, mathematicians fear (opens external site)

120 points by conradqh 1 day ago | www.thetimes.com | 165 comments on HN

View full thread · View on Hacker News

Comment thread (14)

  1. because both are millenium math problem ???
    Replies (2)
    1. I don’t think that’s true. P could equal or not equal NP and public key cryptography could still be broken or unbroken.
      Replies (1)
      1. That's not true, if P was equal to NP, then public key cryptography would definitely be broken (most definitions of current cryptographic methods require exponential breaking time to be considered secure, though your overall point still stands).
        Replies (2)
        1. I don't see how P being equal to NP would mean much if P algorithm has a galactic exponent bigger than currently used key sizes.
          Replies (1)
          1. Assuming you have the algorithm to begin with.

            Obviously an algorithm for producing an equivalent polynomial-time algorithm given any nondeterministic polynomial-time algorithm would prove P = NP, but is there any reason to believe the proof would take this form, or if it did, that the algorithm generating algorithm would run in a reasonable amount of time, or produce efficient polynomial-time algorithms?

        2. You’re right with respect to the definition of secure against a polynomial time adversary, but often people use “break” more practically.
    2. The list of millennium prize problems has only seven entries, "breaking cryptography" is not there.
      Replies (1)
      1. It's not there, but the related problem P vs NP is there. Public key cryptography can only survive if P != NP.
        Replies (1)
        1. Even knowing p=np would not change anything that fast. As I understand it, it just tells that P will grow polynomial with the difficulty rising. It doesn't tell "it's easy" or "can be made with less compute". For breaking the RSA you would need factorization of the multiplication of two big prime numbers
          Replies (1)
          1. For a concrete example, parsing an ambiguous context-free grammar is O(n³). Not only is this in P, 3 is about as small as you can hope for an exponent to be.

            We find that exponent of 3 so onerous that we devote all our efforts to developing unambiguous grammars instead.

            Various gross programming errors come from using an O(n²) algorithm - quadratic time is considered the practical worst case for sorting algorithms, n+1 database queries are bad because they're quadratic, returning-to-the-paint-pot ( https://martynplummer.wordpress.com/2015/10/16/shlemiel-the-... ) is bad because it's quadratic...

            Rockstar made the news by putting quadratic-time bugs into the loading screen for GTA Online: https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times...

            Most of the discourse around "polynomial time" assumes that "polynomial time" means "linear".

            Replies (1)
            1. > Most of the discourse around "polynomial time" assumes that "polynomial time" means "linear".

              This is not true. The discourse assumes not galactic/feasible before heat death of the universe. We want to avoid n^3 for random grammars we parse all the time. For cracking cryptography, even if it's onerous enough to require like a year of supercomputer time to crack a single one, there are high value targets that make it worth it

              Continue this thread (2 replies) →