note 113493 deleted from function.password-verify by salathe
| From: | salathe@php.net | Date: | Mon, 21 Sep 2020 14:43:32 +0000 |
| Subject: | note 113493 deleted from function.password-verify by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215291@lists.php.net to get a copy of this message | ||
Note Submitter: suit at rebell dot at
----
As Vasil Toshkov stated, password_verify() can be used to verify a password created by crypt() or
password_hash()
That is because passwords created by password_hash() also use the C crypt sheme
If you want to verify older plain MD5-Hashes you just need to prefix them with $1$
See https://en.wikipedia.org/wiki/Crypt_(C) for
more information.