Registry / auth / roots-wp-password-bcrypt

roots-wp-password-bcrypt

JSON →
library1.3.0phppackagistunverified

WordPress plugin which replaces wp_hash_password and wp_check_password's phpass hasher with PHP 5.5's password_hash and password_verify using bcrypt.

composer require roots/wp-password-bcrypt
INSTALL
IMPORT
SIG · ROOTS-WP-PASSWORD-
R
roots-wp-password-bcrypt
authphpv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PasswordBcrypt
use Roots\WPPasswordBcrypt\PasswordBcrypt;

Hash and verify passwords using bcrypt

use Roots\WPPasswordBcrypt\PasswordBcrypt; $hasher = new PasswordBcrypt(); $hash = $hasher->hash('my_password'); $check = $hasher->check('my_password', $hash);
Debug
Known issues
breakingOnly works with WordPress; requires PHP >=5.5
fix
Ensure your environment meets PHP version requirements
affects: >=1.0.0
Upgrade
Version history
1.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
Resources
roots-wp-password-bcrypt — pip install roots-wp-password-bcrypt · libregistry