0 votes
in PHP by
What is the most convenient hashing method to be used to hash passwords?

1 Answer

0 votes
by

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
asked Jun 22, 2019 in PHP by SakshiSharma
+1 vote
asked Jun 23, 2019 in PHP by SakshiSharma
...