How to encrypt a string in Python and decrypt that same string in PHP?
<p>I have a string that I would like to encrypt in Python, store it as a cookie, then in a PHP file I'd like to retrieve that cookie, and decrypt it in PHP. How would I go about doing this?</p>

<hr>

<p>I appreciate the fast responses.</p>

<p>All cookie talk aside, lets just say I want to encrypt a string in Python and then decrypt a string in PHP.</p>

<p>Are there any examples you can point me to?</p>
