PHPackages                             deemru/blake2b - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. deemru/blake2b

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

deemru/blake2b
==============

BLAKE2 hash function on pure PHP

1.0.1(7y ago)721.4k—0%36MITPHPPHP &gt;=5.4

Since Feb 2Pushed 6y ago2 watchersCompare

[ Source](https://github.com/deemru/Blake2b)[ Packagist](https://packagist.org/packages/deemru/blake2b)[ Docs](https://github.com/deemru/Blake2b)[ RSS](/packages/deemru-blake2b/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (6)

Blake2b
=======

[](#blake2b)

[![packagist](https://camo.githubusercontent.com/30797b99cea4d63be3a9752ab86d2907e2b0921873454a823867b21a494d7252/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465656d72752f626c616b6532622e737667)](https://packagist.org/packages/deemru/blake2b) [![php-v](https://camo.githubusercontent.com/47d82a4f847b26ab7dcb8e1ef8d9fdb903036a0708163864dda13fee9ccf9ea2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6465656d72752f626c616b6532622e737667)](https://packagist.org/packages/deemru/blake2b) [![travis](https://camo.githubusercontent.com/6cbd98ec1fd1f5224f9e44e786d852c50134ab6f2c317149c90cbf41af26b0e4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6465656d72752f426c616b6532622e7376673f6c6162656c3d747261766973)](https://travis-ci.org/deemru/Blake2b) [![codacy](https://camo.githubusercontent.com/063a6b22b4ce9256c628f6045399a5c2bab5d16cf1f61d1d4cd5c11a6ed0aba4/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f65663939396234313164383834613639623063336634393163373661666137622e7376673f6c6162656c3d636f64616379)](https://app.codacy.com/project/deemru/Blake2b/dashboard) [![license](https://camo.githubusercontent.com/eea7ae146680d34d153ddbe40923b7dcbdb1a9c9d07859036b6d8de964c045fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465656d72752f626c616b6532622e737667)](https://packagist.org/packages/deemru/blake2b)

[Blake2b](https://github.com/deemru/Blake2b) implements [BLAKE2](https://en.wikipedia.org/wiki/BLAKE_(hash_function)) hash function on pure PHP.

- Cryptographically compatible Blake2b
- If you have PHP &gt;= 7.2 with [Sodium](http://php.net/manual/en/book.sodium.php), please use [`sodium_crypto_generichash()`](http://php.net/manual/en/function.sodium-crypto-generichash.php)

Usage
-----

[](#usage)

```
$blake2b = new Blake2b();
$hash = $blake2b->hash( 'Hello, world!' );
if( $hash !== hex2bin( 'b5da441cfe72ae042ef4d2b17742907f675de4da57462d4c3609c2e2ed755970' ) )
    exit( 1 );
```

Requirements
------------

[](#requirements)

- [PHP](http://php.net) &gt;= 5.4

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

[](#installation)

Require through Composer:

```
{
    "require": {
        "deemru/blake2b": "1.0.*"
    }
}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity56

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 ~0 days

Total

2

Last Release

2662d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.6

1.0.1PHP &gt;=5.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10706633?v=4)[Dmitrii Pichulin](/maintainers/deemru)[@deemru](https://github.com/deemru)

---

Top Contributors

[![deemru](https://avatars.githubusercontent.com/u/10706633?v=4)](https://github.com/deemru "deemru (8 commits)")

---

Tags

blake2blake2bhashphpwavesplatformBLAKE2bhashBLAKE2wavesplatformblake2b256

### Embed Badge

![Health badge](/badges/deemru-blake2b/health.svg)

```
[![Health](https://phpackages.com/badges/deemru-blake2b/health.svg)](https://phpackages.com/packages/deemru-blake2b)
```

###  Alternatives

[hashids/hashids

Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers

5.4k48.6M278](/packages/hashids-hashids)[torann/hashids

Laravel package for Hashids

54335.1k](/packages/torann-hashids)[paragonie/blakechain

Hash chain using BLAKE2b

242.9k3](/packages/paragonie-blakechain)[delight-im/ids

Short, obfuscated and efficient IDs for PHP

289.5k1](/packages/delight-im-ids)[light/hashids

Hashids for Yii2

1120.2k](/packages/light-hashids)[bvdputte/kirby-fingerprint

Cache-busting utility to fingerprint assets (JS/CSS) in Kirby 3

1610.0k](/packages/bvdputte-kirby-fingerprint)

PHPackages © 2026

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