PHPackages                             keboola/php-encryption - 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. keboola/php-encryption

Abandoned → [defuse/php-encryption](/?search=defuse%2Fphp-encryption)Library[Security](/categories/security)

keboola/php-encryption
======================

Mcrypt wrapper. This library is deprecated in favor of https://github.com/defuse/php-encryption

2.0.0(11y ago)093.8k↓18.8%3MITPHPCI failing

Since Jul 12Pushed 11mo agoCompare

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

READMEChangelogDependenciesVersions (12)Used By (3)

Keboola PHP Encryption [![Build Status](https://camo.githubusercontent.com/d3e384898e295977312a8f7c7720d9026b6f1e4fd65918236f3d43fd2906a2e0/68747470733a2f2f7472617669732d63692e6f72672f6b65626f6f6c612f7068702d656e6372797074696f6e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/keboola/php-encryption)
========================================================================================================================================================================================================================================================================================================================

[](#keboola-php-encryption-)

Wrapper for PHP [mcrypt](http://php.net/manual/en/book.mcrypt.php) encryption algorithms.

Currently supported ciphers
---------------------------

[](#currently-supported-ciphers)

- AES in CBC mode with \[PKCS7 padding\]([http://en.wikipedia.org/wiki/Padding\_(cryptography\\)#PKCS7](http://en.wikipedia.org/wiki/Padding_(cryptography%5C)#PKCS7))
- Encryption strength is determined by key length. Key lengths 16, 24, 32 corresponds with 128, 192, 256 bit encryption.

Usage
-----

[](#usage)

```
    use Keboola\Encryption\AESEncryptor;
	$encryptor = new AESEncryptor('UfhZPgPLpz7YVjXwNGTpUD8WpoddfpXn'); // 256 bit key
    $encryptedMessage = $encryptor->encrypt($inputMessage);
```

Resources
---------

[](#resources)

-
-
- [https://en.wikipedia.org/wiki/Block\_cipher\_mode\_of\_operation](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation)
-
- [http://en.wikipedia.org/wiki/Advanced\_Encryption\_Standard](http://en.wikipedia.org/wiki/Advanced_Encryption_Standard)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 94.4% 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 ~231 days

Recently: every ~462 days

Total

9

Last Release

2840d ago

Major Versions

0.2.1 → 2.0.02015-05-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/101dbf2551a0709ddab522f97669f13a2c4cc2d0a1e8d009f3af6ba80accb1a9?d=identicon)[Keboola](/maintainers/Keboola)

---

Top Contributors

[![Halama](https://avatars.githubusercontent.com/u/903531?v=4)](https://github.com/Halama "Halama (17 commits)")[![odinuv](https://avatars.githubusercontent.com/u/4319320?v=4)](https://github.com/odinuv "odinuv (1 commits)")

---

Tags

securityencryptionaesciphermcryptdeprecated

### Embed Badge

![Health badge](/badges/keboola-php-encryption/health.svg)

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[phpseclib/phpseclib

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

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[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)[chuyskywalker/phpaes

PHP AES -- Accurate &amp; Fast AES in PHP

356.1k](/packages/chuyskywalker-phpaes)

PHPackages © 2026

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