Creating function to encrypt password

If this is already in prod, please think of a way to migrate the data to a more secure system, for example by using user logins to upgrade the hash to a secure version. The current scheme endangers your users.

8 Likes