01-21-2018, 05:10 AM
I don't know which hash mode i should use, seems it uses the php function hash_pbkdf2.
Here is my php code...
Here is my php code...
PHP Code:
public function hash_password($password)
{
return base64_encode(hash_pbkdf2('sha256', $password, \Config::get('auth.salt'), \Config::get('auth.iterations',10000), 32, true));
}