Jun 22, 2019 in PHP
Q: What is the most convenient hashing method to be used to hash passwords?

1 Answer

0 votes
Jun 22, 2019

It is preferable to use crypt() which natively supports several hashing algorithms or the function hash() which supports more variants than crypt() rather than using the common hashing algorithms such as md5, sha1 or sha256 because they are conceived to be fast. Hence, hashing passwords with these algorithms can create vulnerability.

Related questions

0 votes
Jun 22, 2019 in PHP
0 votes
Jun 23, 2019 in PHP
...