title: What is the best method to encrypt password in Swift?
body: <p>I'm building an application that takes in login credentials (<code>username</code> and <code>password</code>). I want to encrypt before sending the data to the server. I would really appreciate if someone can provide some insight on the most common method or best practice for password encryption in Swift.</p>