-1

We are developing a mobile app that includes a user account system. Currently, we have a system password flow like this:

User enters password -> SHA-256 HMAC hash with key -> server -> SHA-256 hash -> database

I have 3 questions:

  1. Is this secure enough for release?
  2. Would it be secure to store the client-side password hash to save the login?
  3. If #2 is a no, would it be better to encrypt the hash using AES-256 and then store it?
schroeder
  • 129,372
  • 55
  • 299
  • 340