Based on the stated problem statement and the data files provided for authentication and for the different profile roles, I have implemented the following procedure to develop the authorization system:
-
Created a user-friendly option menu that allows the user the choice to log in with their credentials or log off to exit the program.
-
Created an input line to prompt the user for a username.
-
Created an input line to prompt the user for a password.
-
Added the existing MD5 hash code to convert the password using a message digest five (MD5) hash.