public static function decrypt($encryptedValue) { $key = Encryption::_getKey(); $crypt = new PHP_Crypt($key, PHP_Crypt::CIPHER_AES_128, PHP_Crypt::MODE_CBC); Encryption::_setIV($crypt); $value = $crypt->decrypt($encryptedValue); return $value; }