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

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

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

View full thread · View on Hacker News

Comment thread (3)

  1. I think if you told anyone in 2007 run

    echo 'lIaC/LQECdFOTo+kmDhr9kuVW0HbVF7Zgf0Ql3Uj1nA=' | base64 -d | sha256sum

    they'd be unsettled even though that's not really close to breaking sha256 (look at the end of the hash).

    Replies (1)
    1. Saved you a paste: it ends in 20 zeros in hex, so 80 0 bits. I'll assume it's a bitcoin block header.

      They'd be very surprised that we spent all of Italy's electricity bruteforcing sha256 but given that we did, and a few more generations of hardware improvements, not terribly surprised.

      The 176 remaining bits are the margin for error - still plenty left.

      Replies (1)
      1. > I'll assume it's a bitcoin block header.

        Correct (well, the hash of one).