Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

md5 produces 128bit me... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linear Algebra with Applications

Authors: Steven J. Leon

7th edition

131857851, 978-0131857858

More Books

Students also viewed these Operating System questions

Question

Describe how you save a file with a new filename in Excel

Answered: 1 week ago