Project: Encryption/Hash


Using either encryption or hash, develop an website (do not use the login control) that allows users to safely register their credential (i.e., username and password) and later login using the self-created credential.


  1. Create a function that:
    • allow users to create their own credentials,
    • hashes or encrypts the user credential, and
    • saves the user credentials into the user credential table.
  2. Create another function to:
    • enable user login
    • hash or decrypt the user credential,
    • authenticate the hashed or decrypted user credential, and 
    • returns a message indicating whether or the login succeeds.
  3. Do NOT use's Login control


Register: 50%
Login: 50%