WordPress Hash icon

WordPress Hash

Hash and verify passwords using WordPress-compatible hashing

Hash Password

AI-generated

Summary

Hashes a plain text password using WordPress-compatible hashing.

Inputs

  • password (required) — The plain text password to hash.

Output shape

a single record containing the hashed password

Returns an object with a 'hash' field containing the generated hash.

Examples

Example 1: Hash the password 'mySecretPassword'.

Input: password = 'mySecretPassword'. Output: hash with corresponding WordPress-compatible hash.

Discussion