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
 /**
  * {@inheritDoc}
  */
 public function rehash($password)
 {
     return $this->validator->rehash($password);
 }