An unofficial, read-only Hacker News reader. Join the beta →

A Deterministic Subexponential-Time Algorithm for the Discrete Logarithm Problem [pdf] (opens external site)

207 points by yuvadam 15 hours ago | eprint.iacr.org | 91 comments on HN

View full thread · View on Hacker News

Comment thread (12)

  1. Since it's what everyone is going to be worrying about: This result does not matter practically for cybersecurity.

    The best practical algorithm for solving elliptic curve DLP is BSGS (Baby Step, Giant Step) which grows as 2^{b/2+o(b)} in the key length.

    This result claims 2^O(b/(log log b)) which is technically subexponential, but since that `log log b` term grows so slowly it pretty much would only beat BSGS for absolutely gigantic keys.

    Replies (4)
    1. I’m not very familiar with this stuff at all, but this comment doesn’t seem right. That’s the Shanks method presented nicely in Table 1 with time complexity p^{1/2+o(1)}, vs. this method’s p^o(1). I’m confused how you ended up at O(p).
      Replies (1)
      1. p^1/2 is sqrt(p).
        Replies (1)
        1. Yes. An exponent of o(1) is better than 1/2. (I’d assume you misread it as O(1), but you’d really have to misread it as exactly 1…)
          Replies (1)
          1. I did some deeper analysis and you're correct.

            The paper's result is still not a practical cybersec threat, but not for the reasons I initially stated.

            I'll edit my initial comment.

            Replies (1)
            1. What’s the deal with the {} ?
    2. The right conclusion for the wrong reason. They claim the new algorithm is theoretically faster for huge numbers and only impractical because of massive initial overhead.

      Perhaps misread the paper's actual bound which is p^{o(1)} and means the exponent on p eventually shrinks smaller than any positive number including 0.5 (the square root) once p is big enough.

    3. Thanks for explaining it. How does it work on actual hardware? Are any of these algorithms better at utilizing CPU cache or SIMD?
      Replies (2)
      1. This work really isn't at the hardware or even practical execution level. Just showing how the algorithm on an abstract idealized machine scales with input size. There's a lot of optimization that goes into getting this to work on a real machine.
      2. That depends, how fast does the tape on your Turing machine move?
        Replies (1)
        1. As it turns out there is (at least one). There goes my (next) weekend: https://aturingmachine.com/
    4. How much bigger are the constants on this result?