Encrypt/Decrypt a string in PHP with AES.
To deploy this project run
git clone https://github.com/priv4cy/php-aes-encrypt-decrypt.git
include('class.php');
$aes = new AES('Secret key', 'Secret iv');
$encrypted_string = $aes->encrypt('Hey!');
echo $encrypted_string;
$decrypted_string = $aes->decrypt($encrypted_string);
echo $decrypted_string;