0

I found several questions on Stackoverflow regarding javascript encryption, but I couldn't find one for encryption in javascript and decryption in php. What api would be best?

I'm looking to make added security for my web application. I want some variables to be encrypted on the client and then decrypted on the server (with php).

Thank you!

www139
  • 105
  • 10
  • There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.I would suggest that you find a development forum (perhaps [reddit](https://www.reddit.com/)?) to work out generalities. Then, when you have specific coding issues, come back to StackOverflow and we'll be glad to help. – Jay Blanchard Jun 01 '15 at 14:16
  • Moreover you'll need to obfuscate your JAVASCRIPT since it can be accessed using firebug. – Answers_Seeker Jun 01 '15 at 14:17
  • If you want it to be secure against the network, your Javascript needs to be rolled into a browser extension. (At this point, I would recommend using libsodium.) If you want it to be secure against a savvy end user, good luck. – Scott Arciszewski Jun 01 '15 at 19:21

0 Answers0