Which hash function is currently a good choice for passwords?

Some hash functions today are not as secure as they were several years ago. Which hash function is currently a good choice for password hashing?

Thanks in advance.

+3
source share
3 answers

Well, sha-2 is technically safer, but there are no conflicts for sha-1 yet.

If you are trying to protect against rainbow tables or something else, I would go with sha-2, since he has not yet seen widespread use (for now).

SHA Hash Functions (Wikipedia)

+3
source

A key hash such as the SHA256 HMAC would be a good option to prevent brute force attacks if your data warehouse is compromised.

0
source

Source: https://habr.com/ru/post/1725400/


All Articles