PHPackages                             mh-ing/aes-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. mh-ing/aes-encryption

ActiveLibrary[Security](/categories/security)

mh-ing/aes-encryption
=====================

An AES Encrypter for PHP

010.9kPHP

Since Oct 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mh-ing/aes-encryption)[ Packagist](https://packagist.org/packages/mh-ing/aes-encryption)[ RSS](/packages/mh-ing-aes-encryption/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHP AES Encrypter
=================

[](#php-aes-encrypter)

[![Build Status](https://camo.githubusercontent.com/4e3644664d03c4bde2f8a13f69b1d5e20728b881990febef4701069525ffd200/68747470733a2f2f7472617669732d63692e6f72672f74656272752f6165732d656e6372797074696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tebru/aes-encryption)[![Coverage Status](https://camo.githubusercontent.com/dbabe62d1fad9087d60e10fdcd2ba9d6c5a09bab4c232c4cdbf69d91217f2760/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f74656272752f6165732d656e6372797074696f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/tebru/aes-encryption?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/65c12657b5b462b6de8eee20e0e78d65c362d5e6457ab26d9bb117987b835c7b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74656272752f6165732d656e6372797074696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tebru/aes-encryption/?branch=master)

A simple class to handle AES encryption of data

*DISCLAIMER: While the encryption/decryption has been tested, it has not been vetted by a security expert. Use at your own risk.*

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

[](#installation)

Install using composer

```
composer require mh-ing/aes-encryption

```

Usage
-----

[](#usage)

Simply instantiate the encrypter class with a key and use the `encrypt`/`decrypt` methods

```
