Question: In this task, we will play with various one-way hash algorithms. To see the manuals, you can type man openssl and man dgst. You can

In this task, we will play with various one-way hash algorithms. To see the manuals, you can type “man openssl” and “man dgst”. You can use the following openssl command to generate the hash value for a file:

“openssl dgst dgsttype filename”

Replace the dgsttype with a specific one-way hash algorithm, such as “-md5”, “-sha1”, “-sha256”, etc. In this task, you should try at least 3 different algorithms, and describe your observations. You can find the supported one-way hash algorithms by typing "man openssl".

Submit the following:

1. For a given file, what is the digest size in bits for each of the hash functions you tried?
2. Is the digest size different for files of different lengths?


Step by Step Solution

3.54 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The question provided is incomplete because it involves a handson task that requires running command... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!