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

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

560 points by aklein 3 days ago | scottaaronson.blog | 774 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. I guess they meant appending a secret nonce to the plaintext before hashing.

    Isn't that what they call a pepper?

    Replies (1)
    1. A salt is a once-per-item value, whereas a pepper is a once-per-deployment/system value. So, if you have an authentication DB and you're using a hardware security module to hash a secret value along with each password, and store that hash in your DB, the secret value stored in your HSM is your pepper. You could also have per-entry salt values hashed in (salt and pepper aren't mutually exclusive). Of course, if you're really doing such a thing, use a memory-hard function designed for passwords.