PHPackages                             aufa/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aufa/encryption

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aufa/encryption
===============

Another Encryption utility

1.0(9y ago)3135GPL-3.0+PHPPHP &gt;=5.3.0

Since Aug 12Pushed 9y ago3 watchersCompare

[ Source](https://github.com/aufa/Encryption)[ Packagist](https://packagist.org/packages/aufa/encryption)[ Docs](http://www.nwm.co.id/)[ RSS](/packages/aufa-encryption/feed)WikiDiscussions master Synced today

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

Aufa Encryption
===============

[](#aufa-encryption)

Another Encryption Helper

[![Build Status](https://camo.githubusercontent.com/e0636bf2458db37057adf0dc3829a0379f573b8568fda1fe36cd9c54e00a1e0b/68747470733a2f2f7472617669732d63692e6f72672f617566612f456e6372797074696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aufa/Encryption)

Encrypt string or another type of value to encryption. by default encryption use `mcrypt` with: `MCRYPT_RIJNDAEL_256` + `MCRYPT_MODE_ECB`and another encryption using alternative of `str_rot13` and encoded by `base64_encode`

Encryption
----------

[](#encryption)

```
/**
 * Using default encryption mcrypt
 */
Aufa\Encryption\Encryption::encrypt('string to encrypt', 'saltkey');

/**
 * Using alternative type
 */
Aufa\Encryption\Encryption::altEncrypt('string to encrypt', 'saltkey');
```

Decryption
----------

[](#decryption)

```
/**
 * Decrypt encrypted string with auto detect encryption use
 */
Aufa\Encryption\Encryption::decrypt('string to decrypt', 'saltkey');

// or can use
Aufa\Encryption\Encryption::altDecrypt('string to decrypt', 'saltkey');
```

Install Using Composer
----------------------

[](#install-using-composer)

[Composer](https://getcomposer.org) is handy tool for adding library easily from packagist and another resource to your application. Get Install on here :  and install on your OS.

```
{
  "require": {
        "aufa/encryption" : "~1"
  }
}
```

Requirements
------------

[](#requirements)

This library require php 5.3.2 or later. Suggest to enable `mcrypt` on your php configuration.

License
-------

[](#license)

GPLv3 or later

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

3610d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6134472?v=4)[NAWA](/maintainers/aufa)[@aufa](https://github.com/aufa)

---

Top Contributors

[![aufa](https://avatars.githubusercontent.com/u/6134472?v=4)](https://github.com/aufa "aufa (34 commits)")

---

Tags

utilityencryptionlibrary

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k417.9M1.7k](/packages/nette-utils)[league/iso3166

ISO 3166-1 PHP Library

69938.4M136](/packages/league-iso3166)[maciejczyzewski/bottomline

A full-on PHP manipulation utility belt that provides support for working with arrays, objects, and iterables; a lodash or underscore equivalent for PHP.

475638.9k10](/packages/maciejczyzewski-bottomline)[phpcsstandards/phpcsutils

A suite of utility functions for use with PHP\_CodeSniffer

6337.7M91](/packages/phpcsstandards-phpcsutils)[me-io/php-lodash

A full-on PHP manipulation utility-belt that provides support for the usual functional.

38102.6k](/packages/me-io-php-lodash)[kisma/kisma

PHP Utility Belt

178.5k8](/packages/kisma-kisma)

PHPackages © 2026

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