the RSA system uses a private key to read the content encrypted with the public key. If I make a game for mobile, and want to save the data :
- I guess I cannot save the private key on the device.
- If I use a server, and call a php function to send me the private key, the hacker could just intercept and read the private key sent by the server to the device?
- So, playing offline is not secured? If I use a server, and let the server encrypt and decrypt everything, the server can secure what it receives, but, if it sends a base64 string back to the device, the hacker can modify the data as he wants.
So, how does it work to secure the data via the server? (the 3d option here is not really secured)?