PHPackages                             stlswm/php-encrypt - 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. stlswm/php-encrypt

ActiveLibrary[Security](/categories/security)

stlswm/php-encrypt
==================

PHP加解密库

v0.0.1(5y ago)13511MITPHPPHP &gt;=7.4

Since Nov 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/stlswm/php-encrypt)[ Packagist](https://packagist.org/packages/stlswm/php-encrypt)[ RSS](/packages/stlswm-php-encrypt/feed)WikiDiscussions master Synced 6d ago

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

php-encrypt
===========

[](#php-encrypt)

php加密算法库

```
    //工行加密举例：
    $iv = str_repeat("\0", openssl_cipher_iv_length('aes-128-cbc'));
    $ase = new \stlswm\PHPEncrypt\AES(base64_decode('MTExMTExMTExMTExMTExMQ=='), 'aes-128-cbc', $iv,
        OPENSSL_RAW_DATA);
    $e = base64_encode($ase->encrypt('123'));
    $d = $ase->decrypt(base64_decode($e));
    $this->assertSame('123',$d);

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

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

2015d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b8b8f8203bfd52ced03be32d7e640b6994ba32ffcd2fe51afb8af77789ad008?d=identicon)[stlswm](/maintainers/stlswm)

---

Top Contributors

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

---

Tags

aesstlswmPKCS5Padding

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stlswm-php-encrypt/health.svg)

```
[![Health](https://phpackages.com/badges/stlswm-php-encrypt/health.svg)](https://phpackages.com/packages/stlswm-php-encrypt)
```

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[spomky-labs/aes-key-wrap

AES Key Wrap for PHP.

5022.7M14](/packages/spomky-labs-aes-key-wrap)[spomky-labs/php-aes-gcm

AES GCM (Galois Counter Mode) PHP implementation.

724.9M20](/packages/spomky-labs-php-aes-gcm)[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)[mmeyer2k/dcrypt

A petite library of encryption functionality for PHP

98727.2k1](/packages/mmeyer2k-dcrypt)

PHPackages © 2026

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