Skip to main content

PHP Password Hasher

The PHP Password Hasher generates secure password hashes for use in PHP login systems.

This tool is useful when:

  • Adding users directly in phpMyAdmin.
  • Resetting passwords during development.
  • Testing login systems.
  • Verifying that a password matches a stored hash.

Using the Hash in phpMyAdmin

Example:

INSERT INTO users (username, password)
VALUES (
    'admin',
    '$2y$10$z2QfYt0B0e9D9I5Yj7M4VuqhZgN3bU5QeK2Yl2sL5vLJ6m6r4Q9uO'
);

Accessing the Tool

Open PHP Password Hasher


Remember

Passwords should never be stored as plain text in a database.

Always use:

password_hash()

to create passwords and

password_verify()

to check passwords during login.