Question Details
[answered] Modern password systems don's store the actual passwor
Modern password systems don's store the actual password for a use they store a string that is known as a "hash". A hash has special properties, notably that the input to a hash function always returns the same output and that if you have the hashed output it is impossible to reverse and find out the input that generated the hash.
A well known hash function is called MD5. The MD5 hash of the word "hello" is "5d41402abc4b2a76b9719d911017c592".
A better hashing algorithm is called sha512. This produces a much longer hash (technically this is still not used for modern password storage but it will do for our demonstration program.
Your goal is to create a password storage system. It must do the following things.
- Allow a user to enter a username and password. If the password is correct it must tell the user that they have been granted access. If the password is incorrect it must tell them that they entered an incorrect username or password.
- Allow an administrator to create new accounts. A new account should take 4 pieces of information: username, email address, password, and a password verification (enter it again). If the passwords match and the username or email address are not already in the system it should create a new record.
- Users can get a special token if they forget their password (we won't implement this fully right now). If the user forgets the password, they can provide the email address for their username. If the email address is in the system it will print a random token value. (in the real world this would be used to reset the password for now it will do nothing.)
- Passwords must be stored in hashed form. When you check the password you must check to make sure the user entered password matches the hashed password that is stored.
Solution details:
Answered
QUALITY
Approved
ANSWER RATING
This question was answered on: Sep 18, 2020
Solution~0001013960.zip (25.37 KB)
This attachment is locked
We have a ready expert answer for this paper which you can use for in-depth understanding, research editing or paraphrasing. You can buy it or order for a fresh, original and plagiarism-free copy from our tutoring website www.aceyourhomework.com (Deadline assured. Flexible pricing. TurnItIn Report provided)

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
About this Question
STATUSAnswered
QUALITYApproved
DATE ANSWEREDSep 18, 2020
EXPERTTutor
ANSWER RATING
GET INSTANT HELP/h4>
We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.
You can also use these solutions:
- As a reference for in-depth understanding of the subject.
- As a source of ideas / reasoning for your own research (if properly referenced)
- For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
NEW ASSIGNMENT HELP?
Order New Solution. Quick Turnaround
Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.
WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN YOUR SET DEADLINE.
