This a pretty basic question. Let’s say I have this iPhone/iPad app that, at some point, gives the user the option to login. The username/pw are stored on the server’s database.
What is the best way to communicate with the server to check if the username/pw are correct. How can I safely send & receive these requests via HTTP (without sending the plain pw)? What encryption/decryption should I use (both in-app and serverside)?
Just use SSL (i.e. https). Whatever you do, don’t roll your own crypto!