First, Thank you Jacob Peattie for your help.
I decided to solve this issue partly (the data being easily readable) with encoding the data using base64_encode() & json_encode() in php and decoding it in javascript with JSON.parse() & atob().
First, Thank you Jacob Peattie for your help.
I decided to solve this issue partly (the data being easily readable) with encoding the data using base64_encode() & json_encode() in php and decoding it in javascript with JSON.parse() & atob().