javascript hashing passwords

Get perfect grades by consistently using Place your order and get a quality paper today. Take advantage of our current 20% discount by using the coupon code GET20

Order a Similar Paper Order a Different Paper

Hi, I need JavaScript code and corresponding HTML code to do the following:

The first step will be to create a List (see attached word doc for prev List code to use, this doubly-linked list, you can use this or single link list).

Next you will need to research and find a suitable Hash function. Here is a simple version of a Hash Function.

Put in A (any length) and get out B (fixed length). If the input is the same, the output is always the same. Most Hash Functions always give an output of the same length. Of course there is always the possibility of a Hash Collision where 2 inputs give the same output (in fact that is the basis of Cryptocurrency mining). The probability of an output B being the same for multiple inputs A is a direct function of the length of B and the number of characters in B.

Please use SHA-1 ( );

Once you have a list and a hash function – we will use it to create a Password System.

Your interface will include 2 Text boxes;

Add Password To List [ Text input ] Submit

Check For Password [ Text Input ] Submit

The first submit will Add the HASHED version of the Password as a Node in your list.

The second submit will Hash the second text box and compare it against all the values in the list. If it is in the List you will Output “Password Found” if it is not in the list output “Not Found”

You should also print the full list to the screen. This should obviously only display the hashed version of the passwords.

"Is this question part of your assignment? We can help"


Need help with an assignment? We work for the best interests of our clients. We maintain professionalism and offer brilliant writing services in most of the fields ranging from nursing, philosophy, psychology, biology, finance, accounting, criminal justice, mathematics, computer science, among others. We offer CONFIDENTIAL, ORIGINAL (Turnitin & SafeAssign checks), and PRIVATE services using the latest (within 5 years) peer-reviewed articles. Kindly click on ORDER NOW to receive an A++ paper from our masters- and doctorate-prepared writers. Thank you in advance!

Get a 15% discount on your order using the following coupon code SAVE15

Order a Similar Paper Order a Different Paper