Registry / crypto / hautelook-phpass

hautelook-phpass

JSON →
library1.1.0phppackagistunverified

Portable PHP password hashing framework.

composer require hautelook/phpass
INSTALL
IMPORT
SIG · HAUTELOOK-PHPASS
H
hautelook-phpass
cryptophpv1.1.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.

PasswordHash
use Hautelook\Phpass\PasswordHash;

Hash and verify a password.

<?php use Hautelook\Phpass\PasswordHash; $hasher = new PasswordHash(8, false); $hash = $hasher->HashPassword('mypassword'); if ($hasher->CheckPassword('mypassword', $hash)) { echo 'Password matches'; }
Debug
Known issues
gotchaUses MD5-based hashing which is considered weak for modern security.
fix
Consider using password_hash() with bcrypt or argon2 instead.
affects: *
Upgrade
Version history
1.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Resources
hautelook-phpass — pip install hautelook-phpass · libregistry