Registry / crypto / rych-hash-pbkdf2-compat

rych-hash-pbkdf2-compat

JSON →
library1.0.1phppackagistunverified

Provides hash_pbkdf2() to PHP versions >=5.3,<5.5.

composer require rych/hash_pbkdf2-compat
INSTALL
IMPORT
SIG · RYCH-HASH-PBKDF2-C
R
rych-hash-pbkdf2-compat
cryptophpv1.0.1
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.

Pbkdf2
use Rych\Hash\Pbkdf2;

Generate a PBKDF2 hash for PHP <5.5

use Rych\Hash\Pbkdf2; $hash = Pbkdf2::hash('password', 'salt', 1000, 32); echo $hash;
Debug
Known issues
gotchaOnly needed for PHP <5.5; PHP 5.5+ has native hash_pbkdf2()
fix
Use native function if PHP >=5.5
affects: >=5.5
Upgrade
Version history
1.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Amazon
1
Resources
rych-hash-pbkdf2-compat — pip install rych-hash-pbkdf2-compat · libregistry