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

ActiveLibrary

lsys/encrypt
============

lsys module encrypt

0.0.1(5y ago)02Apache-2.0PHPCI failing

Since Jul 29Pushed 5y agoCompare

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

READMEChangelogDependencies (3)Versions (2)Used By (0)

字符串加密解密
=======

[](#字符串加密解密)

[![Build Status](https://camo.githubusercontent.com/7477a11a6a617ff9269200f52616b43e763f2ab2a90e95b3ceace3cc0ace36f9/68747470733a2f2f7472617669732d63692e636f6d2f7068702d6c7379732f656e63727970742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/php-lsys/encrypt)[![Coverage Status](https://camo.githubusercontent.com/673de4336d85f564ee4b48adb4570271d0f69ee5d51d8dbdda0fc7267408c30c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7068702d6c7379732f656e63727970742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/php-lsys/encrypt?branch=master)

> 对字符串进行加解密操作

使用示例:

```
//$key 默认随机生成,每次生成只能当次解密
//需要加密解密分离,请添加配置文件 参见 /dome 目录
$en=LSYS\Encrypt\DI::get()->encrypt();
//加密
$encode=$en->encode("ddd");
//解密
var_dump($en->decode($encode));

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

2119d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f1652fec3beae86de90c6615dd28be4729251e1b2bb08f1cd18e8193e6c4e48?d=identicon)[lsys](/maintainers/lsys)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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