I’m using RSA private-public key encryption to encrypt data coming from server. The main goal is to encrypt json data that server serves to iOS and android clients, so no other app can use this data. So what would be better choice? To encrypt data on server using private key and to decrypt in app with public key or vice versa?
I’m using RSA private-public key encryption to encrypt data coming from server. The main
Share
The best idea would be to use two pairs.
You can generate client key pairs on first run of application, and send your public to server encrypted by server public