In this task, we will play with various one-way hash algorithms. To see the manuals, you can
Fantastic news! We've Found the answer you've been seeking!
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 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?
Related Book For
Posted Date: