I\'m creating a server which can store cookies on the web that will contain application settings. The server will accept any data, but I want to encrypt all the settings before
I'd recommend using AES encryption in your JavaScript code. See Javascript AES encryption for libraries and links. The trouble you'll have is picking a key that is only available on the client side. Perhaps you can prompt the user? Or hash together some client system information that's not sent to the server.