I have a webserver running mysql and php which sends data to a json string.
I have a second webserver which reads the data and then displays it.
Everything works fine at the moment.
I need to add some sensitive data into the string, so I was wondering what is the best way to encrypt/decrypt the json using php?
Can someone help!?
I bet the best way is use SSL (HTTPS) and I recommend you to read the OWASP Guide and especially the How-To section.