lab for password encryption
- In this lab, you will practice simple signup and login.
- create file src/account.js
- create model for User
- create simpleSignUp and simpleLogin function
- This lab focus on hashing password
- create hashSignUp and hashLogin function
- This lab focus on hashing password with secret
- create hashWithSecretSignUp and hashWithSecretLogin Function, use "abcdefg" as secret
- This lab focus on generating salt and hash with it
- Create hashSaltSignUp and hashSaltLogin function