JeremyKendall\Password\PasswordValidatorInterface::rehash PHP Method

rehash() public method

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

Usage Example

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