PHPackages                             axy/crypt - 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. axy/crypt

ActiveLibrary[Security](/categories/security)

axy/crypt
=========

Some crypt algorithms

0.2.0(3y ago)027.3k↓40.5%11MITPHPPHP &gt;=8.1

Since Nov 26Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (4)Used By (1)

axy\\crypt
==========

[](#axycrypt)

Some crypt algorithms.

[![Latest Stable Version](https://camo.githubusercontent.com/26f03bbb5b8300478529a5671ca57560c97c8e0577ca1be2491ee6e25bfd1c20/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6178792f63727970742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/axy/crypt)[![Minimum PHP Version](https://camo.githubusercontent.com/2d18ce514c7016022dad012ac9e39a8b6f47cc411b2daff6627cbf208f8cea63/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Tests](https://github.com/axypro/crypt/actions/workflows/test.yml/badge.svg)](https://github.com/axypro/crypt/actions/workflows/test.yml)[![Coverage Status](https://camo.githubusercontent.com/eb01c6419f51545e34e4e94dd8fa186f02c1d546ca59f95d90bfa64d62c8acb9/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f61787970726f2f63727970742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/axypro/crypt?branch=master)[![License](https://camo.githubusercontent.com/c96575f5e9262362c231d28abab354dc582a89fca27272faa4e51b1bcb1c31f9/68747470733a2f2f706f7365722e707567782e6f72672f6178792f63727970742f6c6963656e7365)](LICENSE)

### Documentation

[](#documentation)

#### APR1: Apache APR1-MD5 algorithm

[](#apr1-apache-apr1-md5-algorithm)

```
use axy\crypt\APR1;

$hash = APR1::hash($string);
APR1::verify($string, $hash); // TRUE
```

#### BCrypt

[](#bcrypt)

```
use axy\crypt\BCrypt;

$hash = BCrypt::hash($string);
BCrypt::verify($string, $hash); // TRUE
```

Set computed time (5 by default):

```
$hash = BCrypt::hash($string, 10);
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

3

Last Release

1159d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.4.0

0.2.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e5b3a2db8d5614167d4510019e3373dbba63c6aade58d38d23f3e7d2e63c3c4a?d=identicon)[axy](/maintainers/axy)

---

Top Contributors

[![vasa-c](https://avatars.githubusercontent.com/u/557081?v=4)](https://github.com/vasa-c "vasa-c (15 commits)")

---

Tags

hashcryptAPR\_MD5

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/axy-crypt/health.svg)

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

###  Alternatives

[passwordlib/passwordlib

A Password Hashing Library

377220.6k6](/packages/passwordlib-passwordlib)[lastguest/murmurhash

MurmurHash3 Hash

12910.2M52](/packages/lastguest-murmurhash)[miladrahimi/phpcrypt

Encryption, decryption, and hashing tools for PHP projects

3171.5k2](/packages/miladrahimi-phpcrypt)[bordoni/phpass

Portable PHP password hashing framework

244.4M26](/packages/bordoni-phpass)[paragonie/password_lock

Wraps Bcrypt-SHA2 in Authenticated Encryption

19348.7k1](/packages/paragonie-password-lock)[vlucas/pikirasa

PKI public/private RSA key encryption using the OpenSSL extension

104101.1k1](/packages/vlucas-pikirasa)

PHPackages © 2026

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