PHPackages                             zpfei/hasher - 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. zpfei/hasher

ActiveLibrary[Security](/categories/security)

zpfei/hasher
============

This is a rsa encode and decode package

2.2(8y ago)122MITPHP

Since Sep 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/zhangpanfei/hasher)[ Packagist](https://packagist.org/packages/zpfei/hasher)[ RSS](/packages/zpfei-hasher/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (8)Used By (0)

This is a rsa package
=====================

[](#this-is-a-rsa-package)

### example

[](#example)

```
use zpfei\hasher\Rsa;

$rsa = new Rsa(1024);
$keys = $rsa->createKeys();
$encode = Rsa::encode($keys['publicKey'],'hello word');

echo Rsa::decode($keys['privateKey'],$encode);

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

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

Recently: every ~19 days

Total

7

Last Release

3129d ago

Major Versions

1.2 → 2.02017-09-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16538399?v=4)[zhangpanfei](/maintainers/zhangpanfei)[@zhangpanfei](https://github.com/zhangpanfei)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/zpfei-hasher/health.svg)

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M138](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25772.0k36](/packages/paragonie-ecc)

PHPackages © 2026

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