In this week, you will work on some password cracking exercises to gain a better understanding of password security and usability .The first four exercises are easier and mandatory. Different from the classes in the cryptography part of this module, for class exercises from this week, you can use any third-party libraries and tools, as long as you will still write some source code yourself to get the exercises done. You are encouraged to use Google and other search engines to get help and look for hints. Work independently first before asking for help. Exercise 1 – Password hashing and salting Implement a function for the user registration process shown on Lecture Slide 17, and another one for the login process shown on Lecture Slide 18. Write a program invoking the above two functions to show how you can use a password to register a username and then use the same password to log in successfully. For the login process, also use a wrong password to show how the system rejects a user who does not know the real password.
Get Free Quote!
368 Experts Online