2 ms·
You can always make a fast hashing algorithm into a slow-enough password hashing algorithm by repeating it multiple times (as with PBKDF2) or better yet using a
by geofft 7y ago
You can always make a fast hashing algorithm into a slow-enough password hashing algorithm by repeating it multiple times (as with PBKDF2) or better yet using a construction that also uses a minimum amount of memory, not just computational time. For most cryptographic applications (signing data in transit, signing data at rest, computing things like Merkle trees for applications like git and dm-verity), you want a hash that is fast to compute. It's basically only password hashing and cryptocurrency mining that needs to be slow.
BLAKE3's readme says: (https://github.com/BLAKE3-team/BLAKE3 https://github.com/BLAKE3-team/BLAKE3)
NOTE: BLAKE3 is not a password hashing algorithm, because it's designed to be fast, whereas password hashing should not be fast. If you hash passwords to store the hashes or if you derive keys from passwords, we recommend Argon2.
Argon2 (https://github.com/P-H-C/phc-winner-argon2/blob/master/argon2-specs.pdf https://github.com/P-H-C/phc-winner-argon2/blob/master/argon...) is based on BLAKE2b.
- deleted 7y ago[deleted]