Yesterday-the day before yesterday I saw somewhere near password_verify. It seems to be called password_equals.

But I can not find.


Moderator 2: Corrected the error. I have already solved the problem - again answer the question myself?


Prompt analog function password_verify

Php function that displays supported hash algorithms

when password_hash () returns an error?

    1 answer 1

    Found: hash_equals http://php.net/manual/ru/function.hash-equals.php Compares two hash strings. Should be used when testing hashes obtained by the crypt () function.

    crypt () http://php.net/manual/ru/function.crypt.php - performs irreversible string hashing.


    But hash_equals is not an analogue of password_hash. I could not find information about password_equals, because there is no such function.