Unofficial Hacker News companion — get notified on comment replies, and more.

NSA advises immediate transition to post-quantum cryptography (opens external site)

2704 points by intunderflow 1 day ago www.nsa.gov 1277 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (9)

  1. Maybe for some specific ciphers using smaller key sizes, say RSA-1024, one could actually trow a massive amount of compute at it for a year and find the key. But inbthe scenario presented by OP, the compute would be used for LLMs, so this isn't happening.
    Replies (1)
    1. Some anthropic guy threw the spare compute from a cluster of 2048 GPUs to factor RSA-896, done in 10 days. So RSA-1024 is probably within reach.

      https://saweis.net/posts/rsa-896.html

      Replies (2)
      1. Yeah, RSA-1024 is dead. There is a ton old data stored somewhere with people lurking over it mouths watering.

        That's not to say how much of it is still live out in the wild too.

      2. RSA 1024 is within reach, and has been even pre-AI. The main world experts on RSA (who developed the CPU library that was ported to GPU to achieve recent factoring records) have explicitly said this. Quoting from

        https://hal.science/hal-03691141

        > It is obvious that larger computations are possible, and it is widely accepted that 1024-bit factoring and discrete logarithm are feasible now, with hardware and software that currently exist. A ballpark estimate is that factoring a 1024-bit key would be about 200 times harder than RSA-250, or around 500,000 core-years of computation.

        Replies (1)
        1. They recently got 896 which took about 263,000 GPU-hours(30 years).

          Based on that 1024 is about 900 GPU million years. Which if they ran on the same level hardware as 896 would go from 10 days (~$1m) to 5.3 months. But that also got deprecated back in 2013 so people should be way off it. 2048 is then about 35 billions times harder. The only fear for 2048 being factorable is quantum computers which is the push to post quantum anyway

          Replies (1)
          1. no. there could be non-quantum improvements that would break RSA-2048. In particular, if improvements to other index calculus algorithms (like binary field discrete log) could be ported over to factoring (which uses index calculus), RSA-30k would be broken.

            This has so far not happened in the ~7 years that the binary field discrete log algorithms have existed. But I view it as a decently credibly risk to RSA that does not require quantum computers. This does not make it likely, but it is the piece of "AI cryptanlaysis" I would be the least surprised if it occurred.

            Replies (1)
            1. If you wanna look at every option sure. But the reason people reference quantum first is it's on track to get to that level in the next 15 years way before. By which point everyone should be using post quantum. Hell most things should already be working on plans to move away from rsa if they aren't already. I wish people would calm down a bit and stop fear mongering

              Continue this thread (1 replies) →