About phpAES

phpAES is a PHP 5 (PHP 4 version now included) class implementation of 128, 192, and 256 bit AES encryption cipher. It does *not* require the mcrypt extension, or any other extention be compiled into PHP, it uses 100% PHP, and is fully FIPS 197 Compliant. Both the PHP 5 and PHP 4 versions are compatible with 32 and 64-bit systems.

Supported cipher modes include: Electronic Codebook (ECB), Cipher Block Chaining (CBC), Cipher Feedback (CFB), and Output Feedback (OFB).

What is AES?

AES (Advanced Encryption Standard) is the encryption algorithm chosen by the U.S. government for all top secret documents. AES utilizes three different key lengths to offer varying amounts of security and speed for your application.

phpAES has been released as FOSS under the MIT license.

phpAES can now be obtained at https://github.com/phillipsdata/phpaes

Try it out!

Use 16 chars for 128 bit, 24 for 192 bit, or 32 for a 256 bit key, or leave our sample 256 bit key.

Initialization Vector: (used in all modes except ECB)

Distributed by Phillips Data, Inc.