PHPackages                             lefuturiste/crypt - 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. lefuturiste/crypt

ActiveLibrary[Security](/categories/security)

lefuturiste/crypt
=================

A simple crypt lib

0.1(8y ago)1709MITPHPCI failing

Since Dec 31Pushed 6y agoCompare

[ Source](https://github.com/lefuturiste/crypt)[ Packagist](https://packagist.org/packages/lefuturiste/crypt)[ RSS](/packages/lefuturiste-crypt/feed)WikiDiscussions master Synced 2w ago

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

Crypt
=====

[](#crypt)

This is small lib to use symmetric cryptography with php.

Installation
------------

[](#installation)

`composer require lefuturiste/crypt`

Usage
-----

[](#usage)

Simple usage like this:

```
$crypt = new Lefuturiste\Crypt\Crypt('YOUR_PASSWORD');
$cipher = $crypt->encrypt('YOUR DATA');
$plainText = $crypt->decrypt($cipher); //YOUR DATA
```

You can change the method in Crypt constructor :

```
$crypt = new Lefuturiste\Crypt\Crypt('YOUR_PASSWORD', 'AES-128-CFB1');
$cipher = $crypt->encrypt('YOUR DATA');
$plainText = $crypt->decrypt($cipher); //YOUR DATA
```

Get list of method available :

Tests
-----

[](#tests)

You can test the lib :

`vendor/bin/phpunit Tests`

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

[](#contribution)

This is my own usage, and this is very simple usage of cryptography. This is mostly for my personal usage. But you can reports bug, or others things, it's open source project! You can contribute by pull request, the common method in GitHub.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

3104d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/237a43763134833e785eaee2c646dc218b63a87a8b0943b585a7c9ce436fd306?d=identicon)[lefuturiste](/maintainers/lefuturiste)

---

Top Contributors

[![lefuturiste](https://avatars.githubusercontent.com/u/20988163?v=4)](https://github.com/lefuturiste "lefuturiste (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lefuturiste-crypt/health.svg)

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

###  Alternatives

[mews/purifier

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

2.0k18.0M138](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25772.0k36](/packages/paragonie-ecc)

PHPackages © 2026

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