JeremyKendall\Password\PasswordValidatorInterface::rehash PHP Méthode

rehash() public méthode

Hashes password using password_hash. Uses PASSWORD_DEFAULT encryption.
public rehash ( string $password ) : string
$password string Plain text password
Résultat string Hashed password
    public function rehash($password);

Usage Example

 /**
  * {@inheritDoc}
  */
 public function rehash($password)
 {
     return $this->validator->rehash($password);
 }