PHPAES is a free PHP 5 script(PHP 4 version now included) implementation of 128, 192, and 256 bit AES encryption cipher. No mcrypt extension or any other extention be compiled into PHP required. Electronic Codebook (ECB), Cipher Block Chaining (CBC), Cipher Feedback (CFB), and Output Feedback (OFB) are the supported ciper modes in this script. It uses 100% PHP, and is fully FIPS 197 Compliant.
PHPAES comes in 2 flavors:
- AES.class.php: PHP 5 class file, compatible with 32-bit and 64-bit systems
- AES_4.class.php: PHP 4 class file, compatible with 32-bit and 64-bit systems.