Registry / utility / indigophp-hash-compat

indigophp-hash-compat

JSON →
library1.1.0phppackagistunverified

Backports hash_* functionality to older PHP versions.

composer require indigophp/hash-compat
INSTALL
IMPORT
SIG · INDIGOPHP-HASH-COM
I
indigophp-hash-compat
utilityphpv1.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.

Compat
use Indigo\Hash\Compat;

Use hash functions on older PHP versions.

use Indigo\Hash\Compat; $hash = Compat::hash('sha256', 'data');
Debug
Known issues
gotchaOnly needed for PHP < 5.6; modern PHP has native hash functions.
fix
Use native hash functions if PHP >= 5.6.
affects: >=1.0.0
Upgrade
Version history
1.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
indigophp-hash-compat — pip install indigophp-hash-compat · libregistry