PHP.net says that md5() and sha1() unsuitable for password?

前端 未结 5 1609
春和景丽
春和景丽 2021-01-27 16:09

http://www.php.net/manual/en/faq.passwords.php#faq.passwords.fasthash

I\'m storing user passwords in a MySQL database in hash form. Does this mean that it is unsafe to d

5条回答
  •  再見小時候
    2021-01-27 17:14

    For a concrete example of why using plain, unsalted MD5 for password hashing is a bad idea, try entering the MD5 hashes of some reasonably common passwords into a site like md5decrypter.co.uk or md5hashcracker.appspot.com or md5this.com. Or just into Google, which indexes most of those sites (and many others too).

提交回复
热议问题