Registry / auth / ircmaxell-password-compat

ircmaxell-password-compat

JSON →
library1.0.4phppackagistunverified

A compatibility library for the proposed simplified password hashing algorithm.

composer require ircmaxell/password-compat
INSTALL
IMPORT
SIG · IRCMAXELL-PASSWORD
I
ircmaxell-password-compat
authphpv1.0.4
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.

Password
use PasswordCompat\Password;

Hash and verify passwords using the compatibility library.

use PasswordCompat\Password; $hash = Password::hash('mypassword', PASSWORD_BCRYPT); if (Password::verify('mypassword', $hash)) { // Password matches }
Debug
Known issues
breakingThis library is for PHP < 5.5; use native password_hash() for PHP 5.5+.
fix
Upgrade to PHP 5.5+ and use password_hash() and password_verify() directly.
affects: >=1.0.0
Upgrade
Version history
1.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
ircmaxell-password-compat — pip install ircmaxell-password-compat · libregistry