title: How to encrypt data in javascript and decrypt in php?
body: <p>Is there any javascript function that can encrypt data: For example i want to use encrypted data in my URL passed by ajax GET request,</p>
  
  <pre><code>http://sample.com/mypage/TDjsavbuydksabjcbhgy
  </code></pre>
  
  <p>where <strong>TDjsavbuydksabjcbhgy</strong> an encrypted data equivalent to <strong>12345</strong>.
  Now i want to retrieve that data in PHP by decrypting it, so that i can use the <strong>12345</strong>.</p>
  
  <p>Is it possible? or any suggestion on how to do that.</p>
  
  <p>Thanks in advance.</p>