PHPassHandler deprecated
class PHPassHandler implements HandlerInterface, CheckIfRehashNeededHandlerInterface
deprecated 4.0 will be removed in 6.0 Support for PHPass hashed passwords will be removed without replacement
Password handler for PHPass hashed passwords
Methods
bool
checkIfRehashNeeded(string $hash)
Check if the password requires rehashing
string
hashPassword(string $plaintext, array $options = [])
Generate a hash for a plaintext password
static bool
isSupported()
Check that the password handler is supported in this environment
bool
validatePassword(string $plaintext, string $hashed)
Validate a password