hashing program to verify the integrity of data | My Assignment Tutor

Lab – Compare Data with a Hash Objectives Use a hashing program to verify the integrity of data. Background / Scenario It is important to understand when data has been corrupted or it has been tampered with. A hashing program can be used to verify if data has changed, or if it has remained the same. A hashing program performs a hash function on data or a file, which returns a (usually much shorter) value. There are many different hash functions, some very simple and some very complex. When the same hash is performed on the same data, the value that is returned is always the same. If any change is performed on the data, the hash value returned will be different. Note: You will need installation privileges and some knowledge of the process to install Windows programs. Required Resources PC with Internet access Step 1: Create a Text file Search your computer for the Notepad program and open it.Type some text in the program. Choose File > Save.Navigate to Desktop.Type Hash in the File name: field, and click Save. Step 2: Install HashCalc Open a web browser and navigate to http://www.slavasoft.com/download.htm. Click Download in the HashCalc 2.02 row.Open the hashcalc.zip file and run the setup.exe file inside. Follow the installation wizard to install HashCalc. HashCalc is now installed and running. Step 3: Calculate a hash of the Hash.txt file Set the following items in HashCalc:Data Format: File.Data: Click the … button next to the Data field, navigate to the Desktop and choose the Hash.txt file.Uncheck HMAC.Uncheck all hash types except MD5, MD5, SHA1, SHA256, SHA384 and SHA512.Click the Calculate button. What is the value next to MD5, MD5, SHA1, SHA256, SHA384 and SHA512? Step 4: Make a change to the Hash.txt file Navigate to the Desktop and open the Hash.txt file.Make a minor change to the text, such as deleting a letter, or adding a space or period.Click File > Save, and close Notepad. Step 5: Calculate a new hash of the Hash.txt file Click the Calculate button in HashCalc again.  What is the value next to MD5 SHA1, SHA256, SHA384 and SHA512? Is the value different from the value recorded in Step 3? Place a check mark next to all of the hash types.Click Calculate.Notice that many of the hash types create a hash of a different length. Why?


Leave a Reply

Your email address will not be published. Required fields are marked *