PHPackages                             erykai/cryption - 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. erykai/cryption

ActiveLibrary[Security](/categories/security)

erykai/cryption
===============

Encryption and decryption data

v2.1.3(3y ago)0531MITPHPPHP &gt;=8.0

Since Nov 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Erykai/cryption)[ Packagist](https://packagist.org/packages/erykai/cryption)[ GitHub Sponsors](https://github.com/Erykai)[ RSS](/packages/erykai-cryption/feed)WikiDiscussions main Synced today

READMEChangelog (6)DependenciesVersions (7)Used By (1)

Cryption
========

[](#cryption)

Encryption and decryption data [![Maintainer](https://camo.githubusercontent.com/8d0c30a6e6bb0e588086373acb7d3cb9c1ff2135f91a52d1a7a99a8670aa1090/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40616c657864656f766964616c2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://instagram.com/alexdeovidal)[![Source Code](https://camo.githubusercontent.com/04f68d589967479940bd6b3800068bb4489f6a9edb83803729c155119c1b0633/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6572796b61692f6372797074696f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/erykai/cryption)[![PHP from Packagist](https://camo.githubusercontent.com/34a7740a8da733d5e894a76f1cab0642904de6fc76f65a3ecc4fad869adb7d5b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6572796b61692f6372797074696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/erykai/cryption)[![Latest Version](https://camo.githubusercontent.com/ff838361eb1a0091dd3f7b38ba1af55534491973fd463429f40d4a35a302e184/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6572796b61692f6372797074696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/erykai/cryption/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Quality Score](https://camo.githubusercontent.com/6b52056aa35a2f5cf9aef2b3bea8d55383762c0044acb5949951ed80f49f909e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6572796b61692f6372797074696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/erykai/cryption)[![Total Downloads](https://camo.githubusercontent.com/3c31491f249bd194da157b68bbac49a0452c1276e1514a47b3680a189757078d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6572796b61692f6372797074696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/erykai/cryption)

define const

```
const CRYPTION_CIPHERING = "BF-CBC";
const CRYPTION_KEY = "Aa1@#LLkMmJ,;l//";
```

```
require "config.php";
require "vendor/autoload.php";
use Erykai\Cryption\Cryption;

$email = "webav.com.br@gmail.com";

$Cryption = new Cryption();
$emailCryption = $Cryption->encrypt($email);
$emailDecryption = $Cryption->decrypt($emailCryption);

print_r($emailCryption, $emailDecryption);
```

Contribution
------------

[](#contribution)

All contributions will be analyzed, if you make more than one change, make the commit one by one.

Support
-------

[](#support)

If you find defaults send an email reporting to .

Credits
-------

[](#credits)

- [Alex de O. Vidal](https://github.com/alexdeovidal) (Developer)
- [All contributions](https://github.com/erykai/cryption/contributors) (Contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License](https://github.com/erykai/cryption/LICENSE) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

Every ~27 days

Recently: every ~34 days

Total

6

Last Release

1187d ago

Major Versions

v1.0.0 → v2.0.02022-11-17

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/erykai-cryption/health.svg)

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

###  Alternatives

[mews/purifier

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

2.0k18.7M143](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k38](/packages/paragonie-ecc)

PHPackages © 2026

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