Advanced Encryption Standard (AES) plugin for CakePHP - URL friendly
git clone https://github.com/slaven/AesCrypt.git app/Plugin/AesCrypt
CakePlugin::load('AesCrypt');
App::uses('AesCrypt', 'AesCrypt.Lib');
/* Test array */
$testArrEnc = AesCrypt::encrypt( array('name' => 'test') );
debug($testArrEnc);
$testArrDec = AesCrypt::decrypt($testArrEnc);
debug($testArrDec);
/* Test string */
$testStrEnc = AesCrypt::encryptStr('test');
debug($testStrEnc);
$testStrDec = AesCrypt::decryptStr($testStrEnc);
debug($testStrDec);