logoalt Hacker News

tlonnytoday at 8:38 AM2 repliesview on HN

Presumably because API keys are n bytes of random data vs. a shitty user-generated password we don’t have to bother using a salt + can use something cheap to compute like SHA256 vs. a multi-round bcrypt-like?


Replies

agwatoday at 12:10 PM

Correct.

Even a million rounds of hashing only adds 20 bits of security. No need if your secret is already 128 bits.

vjay15today at 9:45 AM

I can't understand what you are trying to say :o

show 1 reply