LAB_Hash_Generators

.docx

School

Yale University *

*We aren’t endorsed by this school

Course

MISC

Subject

Computer Science

Date

May 5, 2024

Type

docx

Pages

5

Uploaded by DeaconAlbatrossPerson180 on coursehero.com

LAB | Using Hash Generators Materials Needed laptop PC with Windows 10 Professional installed Internet connection Activity Background A hash is an algorithm that creates a unique digital fingerprint called a “digest”. An algorithm is a set of procedures based on a mathematical formula used to encrypt and decrypt the data. Hashing is a one- way process often used for password storage and ensuring file integrity during transmission. You can hash a file on the sending side and record the digest that is created. Then send the file and, on the receiving side, run the hash again and compare digest values. Different hash algorithms will produce different digests. In this lab, you will download and use a command line hash generating tool. Then you will download a GUI hash generator and compare the results of various hash algorithms. Process for downloading and using a GUI hash generator 1. Open your browser and navigate to https://github.com/jessek/hashdeep/releases 2. Click md5deep-4.4.zip to start the download. 3. Extract the files to your C:\ drive. A folder named md5deep-4.4 is created. 4. Create a Microsoft Word document with the contents Now is the time for all good men to come to the aid of their country. (include the period at the end of the sentence) 5. Save the document as Country1.docx in the directory that contains the hash digest generator files and then close the document. 6. Open the command prompt and navigate to the directory storing the files you extracted in step 3 (should be c:\md5deep-4.4). Use the command cd c:\md5deep-4.4 7. Enter MD5DEEP Country1.docx to start the application that creates an MD5 digest of Country1.docx and then press Enter. What is the length of this digest?
8. Now enter MD5DEEP MD5DEEP.TXT to start the application that creates an MD5 digest of the accompanying documentation file MD5DEEP.TXT and then press Enter. What is the length of this digest? Compare it to the digest of Country1.docx. What does this tell you about the strength of the MD5 digest? 9. Open the file Country1.docx . Remove the period at the end of the sentence and save the document as Country2.docx. (Be sure to save it in the same directory as Country1.docx) 10. At the command prompt, enter MD5DEEP Country2.docx to start the application that creates an MD5 hash of Country2.docx and then press Enter. What difference does removing the period make to the digest? 11. Return to the command prompt and perform the same comparisons of Country1.docx and Country2.docx using sha1deep.exe (SHA-1), sha256deep.exe (SHA-256), and whirlpooldeep.exe (Whirlpool). What observations can you make regarding the length of the digests between Country1.docx and Country2.docx for each hash algorithm? What do you observe regarding differences between hash algorithms as you compare MD5 with SHA-1, SHA-256 with Whirlpool, etc.?
12. Enter exit to close the command prompt. 13. You will now download a GUI hash generator. Open your browser and navigate to http://implbits.com/products/hashtab/# 14. In the upper right corner, click download now and enter your email address (you will receive a link to download the software). 15. Access your email, click the link to download the software. Once downloaded, install the software using the default settings. 16. Using windows explorer, locate the document Country1.docx that was used in the command line Hash Generator lab. 17. Right click the file and select properties . You should see a new tab named File Hashes . Click this tab to view the digests for the file.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help