This document defines a script that encrypts and decrypts a cookie value using AES encryption. It sets an AES encryption key, the name of the cookie to encrypt/decrypt, and enables or disables debug logging. On HTTP response, it encrypts the cookie value if present. On HTTP request, it decrypts the cookie value if present and URI encoded.