PHPackages                             gxz/sm3 - 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. gxz/sm3

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

gxz/sm3
=======

1.0(5y ago)4211Apache-2.0PHP

Since Jun 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/LittleTrue/sm3)[ Packagist](https://packagist.org/packages/gxz/sm3)[ RSS](/packages/gxz-sm3/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

SM3-PHP
=======

[](#sm3-php)

PHP实现的SM3加密算法， 对外提供了 `\sm3\SM3` 类，可直接对此类传参调用。

#### 命名空间目录：

[](#命名空间目录)

- `\sm3\handler`加密过程中的核心算法
- `\sm3\libs`*动态读写配置的逻辑* 和 *一些底层的基础操作（如：按位运算）*
- `\sm3\types`自定义的扩展类型
- `\sm3\config.php`配置文件
- `\sm3\SM3`入口类

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

2150d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/96480fa5b0b2ff9a9e1d6f8bda9c27002e8899efebd8a30600e6a8ec174d635f?d=identicon)[LittleTrue](/maintainers/LittleTrue)

---

Top Contributors

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

---

Tags

sm3data sign sm3

### Embed Badge

![Health badge](/badges/gxz-sm3/health.svg)

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

###  Alternatives

[lizhichao/one-sm

国密sm3

1871.4M4](/packages/lizhichao-one-sm)

PHPackages © 2026

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