PHPackages                             narf/hash\_hkdf\_compat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. narf/hash\_hkdf\_compat

ActiveLibrary[Security](/categories/security)

narf/hash\_hkdf\_compat
=======================

hash\_hkdf() compat package

1.0.1(9y ago)435.4k↓38.6%3ISCPHPPHP &gt;=5.1.2

Since Jan 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/narfbg/hash_hkdf_compat)[ Packagist](https://packagist.org/packages/narf/hash_hkdf_compat)[ RSS](/packages/narf-hash-hkdf-compat/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

hash\_hkdf() compat
===================

[](#hash_hkdf-compat)

[![Build Status](https://camo.githubusercontent.com/274bdb16d9d1c48a05d12a32f7e008aab0a9128dd668e1d3b12356034bf15924/68747470733a2f2f7472617669732d63692e6f72672f6e61726662672f686173685f686b64665f636f6d7061742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/narfbg/hash_hkdf_compat)

`hash_hkdf()` compatibility package for PHP versions prior to 7.1.2.

Installation
------------

[](#installation)

Can run even on PHP 5.1.2, as long as you haven't disabled ext/hash.

### Via [Composer](https://getcomposer.org/) (recommended)

[](#via-composer-recommended)

```
composer require narf/hash_hkdf_compat

```

### Manual

[](#manual)

`git clone` or download and extract an archived version from [here](https://github.com/narfbg/hash_hkdf_compat/releases)and `require` the *src/hash\_hkdf.php* file.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Total

2

Last Release

3417d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/515594394e6b1a9984fc0647b7c48c5edec69f1a5b0527e494ab19e30e063677?d=identicon)[Narf](/maintainers/Narf)

---

Top Contributors

[![narfbg](https://avatars.githubusercontent.com/u/1058011?v=4)](https://github.com/narfbg "narfbg (7 commits)")[![charlesportwoodii](https://avatars.githubusercontent.com/u/630969?v=4)](https://github.com/charlesportwoodii "charlesportwoodii (1 commits)")

---

Tags

cryptographycryptohkdfhash\_hkdf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/narf-hash-hkdf-compat/health.svg)

```
[![Health](https://phpackages.com/badges/narf-hash-hkdf-compat/health.svg)](https://phpackages.com/packages/narf-hash-hkdf-compat)
```

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k465.6M1.5k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k175.2M254](/packages/defuse-php-encryption)[aplus/crypto

Aplus Framework Crypto Library

171.6M1](/packages/aplus-crypto)[ionux/phactor

Phactor is a high-performance PHP implementation of the elliptic curve math functions required to generate &amp; verify private/public (asymmetric) EC keypairs and ECDSA signatures based on secp256k1 curve parameters. This library also includes a class to generate Service Identification Numbers (SINs) based on the published Identity Protocol v1 spec.

5287.3k30](/packages/ionux-phactor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
