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). There are two versions of phpAES, the free version of phpAES only supports ECB mode while the paid version supports all modes.

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.

The free version

The free version only supports ECB mode, and is useful for encrypting/decrypting credit card numbers. You can download it here free for non-commercial use.

The paid version

The paid version ($9.95 USD) supports ECB, CBC, CFB, and OFB modes, allowing for additional security and is useful for encrypting large blocks of text or for integrating across platforms such as Ruby or Java. Click the PayPal button below to get the paid version. After you pay it will be automatically emailed to your PayPal email address.


The free version is for non-commercial use. The paid version of phpAES may be used for single commercial use (for 1 application on 1 server). If you want to distribute phpAES with your application, email for pricing.

phpAES comes with full source code and is not encoded in any way.



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.

Key:
Mode:
Initialization Vector: (used in all modes except ECB)
Plain-Text:


Distributed by Phillips Data, Inc.