AES implementation in PHP (c) Chris Veness 2005-2011
(http://www.movable-type.co.uk/scripts/aes-php.html) I offer these formulæ & scripts for free use and adaptation as my contribution to the open-source info-sphere from which I have received so much. You are welcome to re-use these scripts [under a simple attribution license or a GPL licence, without any warranty express or implied] provided solely that you retain my copyright notice and a link to this page. licence. No warranty of any form is offered.
Modified for Akeeba Backup by Nicholas K. Dionysopoulos
Located in /administrator/components/com_joomlaupdate/restore.php (line 5014)
AES decryption in CBC mode. This is the standard mode (the CTR methods actually use Rijndael-128 in CTR mode, which - technically - isn't AES).
Supports AES-128, AES-192 and AES-256. It supposes that the last 4 bytes contained a little-endian unsigned long integer representing the unpadded data length.
Decrypt a text encrypted by AES in counter mode of operation
Encrypt a text using AES encryption in Counter mode of operation
Unicode multi-byte character safe
AES Cipher function: encrypt 'input' with Rijndael algorithm
Key expansion for Rijndael Cipher(): performs key expansion on cipher key to generate a key schedule
Documentation generated on Tue, 19 Nov 2013 15:12:16 +0100 by phpDocumentor 1.4.3