PHPackages                             php-standard-library/hash - 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. php-standard-library/hash

ActiveLibrary[Security](/categories/security)

php-standard-library/hash
=========================

Cryptographic and non-cryptographic hashing with Algorithm enum, timing-safe comparison, and HMAC

6.2.1(2mo ago)08.2k↑107.3%5MITPHPPHP ~8.4.0 || ~8.5.0

Since Mar 17Pushed 1mo agoCompare

[ Source](https://github.com/php-standard-library/hash)[ Packagist](https://packagist.org/packages/php-standard-library/hash)[ Docs](https://php-standard-library.dev)[ RSS](/packages/php-standard-library-hash/feed)WikiDiscussions next Synced 3w ago

READMEChangelog (5)Dependencies (6)Versions (13)Used By (5)

PHP Standard Library - Hash
===========================

[](#php-standard-library---hash)

Cryptographic and non-cryptographic hashing with Algorithm enum, timing-safe comparison, and HMAC.

---

- [Documentation](https://php-standard-library.dev)
- [Contributing](https://github.com/php-standard-library/php-standard-library/blob/next/CONTRIBUTING.md)
- [Create Pull Request](https://github.com/php-standard-library/php-standard-library/pulls)
- [Report an Issue](https://github.com/php-standard-library/php-standard-library/issues)

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance89

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

12

Last Release

87d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8489d7c85bfa7c637b8e13484f3f659652aea0568b6e7f9e66edeb0649b5a2f1?d=identicon)[azjezz](/maintainers/azjezz)

---

Top Contributors

[![azjezz](https://avatars.githubusercontent.com/u/29315886?v=4)](https://github.com/azjezz "azjezz (7 commits)")

---

Tags

cryptographyhashhmaccryptographyhashhmac

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-standard-library-hash/health.svg)

```
[![Health](https://phpackages.com/badges/php-standard-library-hash/health.svg)](https://phpackages.com/packages/php-standard-library-hash)
```

###  Alternatives

[phpseclib/phpseclib

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

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

Secure PHP Encryption Library

3.9k170.7M239](/packages/defuse-php-encryption)[paragonie/ciphersweet

Searchable field-level encryption library for relational databases

4661.3M23](/packages/paragonie-ciphersweet)[lastguest/murmurhash

MurmurHash3 Hash

12911.2M59](/packages/lastguest-murmurhash)[simplito/elliptic-php

Fast elliptic curve cryptography

2302.4M266](/packages/simplito-elliptic-php)[rych/phpass

PHP Password Library: Easy, secure password management for PHP

248837.5k4](/packages/rych-phpass)

PHPackages © 2026

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