PHPackages                             funcity/des - 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. funcity/des

ActiveLibrary[Security](/categories/security)

funcity/des
===========

實現 DES 加密、解密方式

1.0.3(7y ago)06MITPHPPHP &gt;=7.1

Since May 6Pushed 6y agoCompare

[ Source](https://github.com/FUNCITY18TW/jsnlib-des)[ Packagist](https://packagist.org/packages/funcity/des)[ Docs](https://github.com/fdjkgh580/jsnlib-des)[ RSS](/packages/funcity-des/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (4)Used By (0)

jsnlib-des
==========

[](#jsnlib-des)

實現 DES 加密方式，如

- ECB DES-ECB、DES-EDE3
- CBC DES-CBC、DES-EDE3-CBC、DESX-CBC
- CFB DES-CFB8、DES-EDE3-CFB8
- CTR
- OFB

\#範例

```
use Jsnlib\DES;

$des = new DES('key123456', 'DES-ECB', DES::OUTPUT_BASE64);
$data = [
    'id' => 'A123456',
    'name' => 'Cary',
    'expired' => '2099-01-01'
];
$encrypt = $des->encrypt(json_encode($data));
$descrypt = $des->decrypt($encrypt);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~0 days

Total

3

Last Release

2567d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.2

1.0.3PHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![fdjkgh580](https://avatars.githubusercontent.com/u/4414580?v=4)](https://github.com/fdjkgh580 "fdjkgh580 (4 commits)")[![Cyanobacteria](https://avatars.githubusercontent.com/u/24975415?v=4)](https://github.com/Cyanobacteria "Cyanobacteria (2 commits)")

---

Tags

laravelencryptiondes

### Embed Badge

![Health badge](/badges/funcity-des/health.svg)

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

###  Alternatives

[sbamtr/laravel-source-encrypter

Laravel Source Encrypter

58545.6k](/packages/sbamtr-laravel-source-encrypter)[camcima/dukpt-php

DUKPT implementation in PHP

25153.1k](/packages/camcima-dukpt-php)[thomaswelton/laravel-mcrypt-faker

Allows installation of Laravel where the PHP Mcrypt extension is not available. Provides encryption using OpenSSL, or by disabling encryption entierly.

113.8k](/packages/thomaswelton-laravel-mcrypt-faker)

PHPackages © 2026

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