Answer the question
In order to leave comments, you need to log in
How to change the default password hashing algorithm?
The module that is responsible for registering users uses the PASSWORD_HASH_PHP_DEFAULT constant, from the name of which it is clear that the default algorithm specified in PHP will be used,
but how can it be changed to md5?
in the webserver settings or php.ini or what?
Answer the question
In order to leave comments, you need to log in
how can i change it to md5?
To create an MD5 hash, use the md5() function :
//выведет md5 хэш.
echo md5('password');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question