Unofficial Hacker News client - receive Push Notifications on replies.

Cryptanalytic result from Anthropic: paper title leaked (opens external site)

552 points by aklein 21 hours ago | twitter.com | 759 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (15)

  1. This implies that someone could crack an encrypted message of mine by just running a markov chain trained on my HN posts.
    Replies (2)
    1. An encrypted message is different than a hashed message, the ciphertext include entropy from the key.
      Replies (1)
      1. The cryptographer forgot to salt their SHA?
        Replies (2)
        1. What would a salt do in this case?

          The point of a salt in a stored hash of a password table is to prevent pre-computation of all possible hashes that fit within the password parameters and doing a lookup of hash => input (rainbow tables).

          In this case we're discussing quickly guessing the password and running hash in realtime.

          So if he salted the hash and published the salt, nothing would change.

          If he salted the hash and then waited until the publication to publish the salt value, he could be accused of mining for the salt after the paper title was available to him. Mining the salt after the fact would be harder, but leave room for doubting the pre-release knowledge.

          tl;dr - the value of a salt is that it forces you to do the work, not that it makes passwords unguessable.

          Replies (3)
          1. The point is that, unless something drastically changes soon, mining a good sized salt so the hash matches exactly should be infeasible.
          2. He could have appended a 256 bit random string to the title
          3. That's not "mining", that's a collision...
            Replies (2)
            1. Finding collisions is exactly what a lot of crypto mining is.
            2. Crypto mining is literally iterating a nonce (just a salt) on a payload until you find a hash that has N bits colliding with a known value. Well at least for bitcoin.

              Continue this thread (1 replies) →

        2. Well generally SHA is a good choice for integrity, it’s not designed for keeping secrets. If they don’t want the hash cracked into the string, they could have used bcrypt or Argon2 or whatever. And then with a salt.
    2. I don't think so because encryption systems pad short messages for exactly this reason.
      Replies (1)
      1. Can't they pad the Markov outputs?