WordPress Hash icon

WordPress Hash

Hash and verify passwords using WordPress-compatible hashing

Check Password

AI-generated

Summary

Check a password against a WordPress-compatible hash.

Inputs

  • password (required) — The plain text password to check against the hash.
  • hash (required) — The WordPress-compatible hash to compare against.

Output shape

an object containing a verification result

Returns an object with a 'verified' field indicating whether the password matches the hash.

Examples

Example 1: Validating a user's login password against the stored hash in a WordPress database.

Provide the login password and the hash retrieved from the database.

Discussion