How to change a SALT password in a database using PHP?
问题 I am using a HTTP POST from android to some php script in order to update a users password in the database. I am using the same SALT hash as is done when the user creates the account and the database update is running and changing the values of SALT however when I try to log in with the new password it is coming as incorrect. The initial code for creating the password is: public function storeUser($name, $email, $password, $rand) { $uuid = uniqid('', true); $hash = $this->hashSSHA($password);