Single mechanism for reversible encryption in PHP and JS
<p>The problem arose to encrypt data transmitted between client and server using a key without using https (the key is transmitted separately, that's another story.)
So. Are interested in the mechanism. I know that there is no built-in JS encryption functions, and PHP are many, but not all normal decode UTF8.</p>

<p>Question: Is there a ready-made solutions (if possible with examples) of such a problem?</p>
