Bcrypt for password hashing because it is slow?

前端 未结 4 2158
闹比i
闹比i 2021-02-20 13:54

I read today on not-implemented.com :

Sha-256 should be chosen in most cases where a high speed hash function is desired. It is considered secure with no

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-20 14:47

    Because if it takes more time to hash the value, it also takes a much longer time to brute-force the password.

    Keep in mind that slow means that it requires more computing power. The same goes for when a potential hacker tries to brute-force a password.

提交回复
热议问题