password::match($plaintext, $hash)

Checks if a password matches the encrypted hash

  • $plaintext (string)
  • $hash (string)
  • return (boolean)