What is the best way to handle encryption for passwords?
I'm trying to send a password via a NSURLRequest. The passwords are encrypted at the database level on the server.
Should I send the password over as clear text and then when it reaches the server, encrypt the password and then check if this password matches the encrypted password in the database.
Should I encrypt the password first and then just check this encrypted password matches the encrypted password in the database?