/mongodb-password-encryption-lab

lab for password encryption

Primary LanguageJavaScriptMIT LicenseMIT

mongodb-password-encryption-lab

lab for password encryption

Lab 1

  1. In this lab, you will practice simple signup and login.
  2. create file src/account.js
  3. create model for User
  4. create simpleSignUp and simpleLogin function

Lab 2

  1. This lab focus on hashing password
  2. create hashSignUp and hashLogin function

Lab 3

  1. This lab focus on hashing password with secret
  2. create hashWithSecretSignUp and hashWithSecretLogin Function, use "abcdefg" as secret

Lab 4

  1. This lab focus on generating salt and hash with it
  2. Create hashSaltSignUp and hashSaltLogin function