|
|
|
|
|
by by
5460 days ago
|
|
"The length of the randomly generated salt shall be at least 128 bits." nist-sp800-132.pdf
http://csrc.nist.gov/publications/PubsSPs.html Not quite the same application, but it would seem best to take a conservative approach and make your salts 128 bits because the storage required is so small - you are only storing one per username. |
|
The NIST application involves generating keys from passwords, which you might do a gigantic number of times for every password to get unique sessions and so on. They're not talking about password storage. And even then, 128 bits seems like a huge overkill, which was included just because it's cheap, so why not. I don't mind 128-bit salts, but let's not promote that as some "ultra-secure" feature, which it isn't.