PHPackages                             bmutinda/hashing - 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. bmutinda/hashing

ActiveLibrary[Security](/categories/security)

bmutinda/hashing
================

PHP set of libraries for hashing

1.0(8y ago)0124↓75%MITPHPPHP &gt;=5.5.0

Since Jun 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bmutinda/hashing)[ Packagist](https://packagist.org/packages/bmutinda/hashing)[ Docs](http://github.com/bmutinda/hashing)[ RSS](/packages/bmutinda-hashing/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

1. Bcrypt
---------

[](#1-bcrypt)

### Installation

[](#installation)

`composer require bmutinda/hashing`

#### Encrypt (Create a hashed string)

[](#encrypt-create-a-hashed-string)

```
$bcrypt = new \Bmutinda\Hashing\Bcrypt();
$hashed = $bcrypt->hash($password);

```

#### Compare hash with a plain string

[](#compare-hash-with-a-plain-string)

```
$bcrypt = new \Bmutinda\Hashing\Bcrypt();
$password = "My plain password";
$hashedPassword = "Long hashed string";
$isValid = $bcrypt->verify($password, $hashedPassword)

```

#### Running tests

[](#running-tests)

Run this command from your terminal inside the project root

`vendor/bin/phpunit tests/`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

3262d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86804895d26f08ef998a82c94252390a27a7d6c355186d3a82e1de7b7ea31d00?d=identicon)[bmutinda](/maintainers/bmutinda)

---

Top Contributors

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

---

Tags

phpphp-encryptionhashinglibraryencryptdecrypt

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bmutinda-hashing/health.svg)

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

###  Alternatives

[xxtea/xxtea

XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for PHP.

11341.7k](/packages/xxtea-xxtea)[nzo/url-encryptor-bundle

The NzoUrlEncryptorBundle is a Symfony Bundle used to Encrypt and Decrypt data and variables in the Web application or passed through URL

961.0M2](/packages/nzo-url-encryptor-bundle)[miladrahimi/phpcrypt

Encryption, decryption, and hashing tools for PHP projects

3171.5k2](/packages/miladrahimi-phpcrypt)[hemiframe/php-aes

PHP class for encrypt and decrypt data with AES algorithm

1030.3k](/packages/hemiframe-php-aes)

PHPackages © 2026

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