WordPress plugin intelligence profile

PHP Native Password Hash

Makes WordPress use PHP's native password_hash() functions for portable, stronger, and time-attack safe bcrypt and Argon2 hashes.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.5
Current version3.0
WordPress coverageTested up to WordPress 6.5
Minimum stackWP 5.2 · PHP 7.0
Directory statusactive
Last directory update10 Jun 20242y ago
Active installations1K+Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 6 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records PHP Native Password Hash version 3.0 as active, updated 2y ago and tested up to WordPress 6.5.

Overview

About this plugin

5’s password_hash() and its accompanying functions. By default, PHP uses bcrypt to hash the passwords. If available, this plugin will use modern Argon2 algorithm.

The transition will be transparent.

  • A password salt will be generated using a Cryptographically Secure Pseudo-Random Number Generator ( CSPRNG )
  • Password hashes are safe from dictionary attacks with rainbow tables or any other precomputed hash lists, because a secure salt is generated for each password.
  • The password hashing is iterated multiple times to provide a good resistance against brute-force attacks.
  • Password checks are made in a way that it mitigates time-attacks.
  • You do not have to reset passwords of all users. Passwords already hashed in the database will be rehashed automatically and transparently the next time the user logs in.
  • PHP might come up with newer password hashing algorithms, and they will be automatically supported without having to reset all the passwords.

This plugin was made initially because one of our applications used WordPress for authentication, but we needed to use an external system

to verify the passwords directly from the database too. Since WordPress has its own password hashing algorithm, we decided to make this plugin to address that problem.

With this plugin, passwords generated by both WordPress and other custom applications now use the PHP’s default password_hash() functions without compromising any of the applications’ security.

This plugin is designed to be as minimal and fast as possible, and can be considered a must-use for EVERY WordPress application given the minimal footprint of this plugin, and considering the importance of using a secure hashing algorithm for passwords.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • password hashing
  • password hash
  • argon2
  • bcrypt
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.5

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.5.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.5
Minimum requirementsWordPress 5.2 · PHP 7.0
Update activity10 Jun 20242y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.