Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

b . Find any collision in SHA 6 0 v . You should find two different messages such that the Linux command: echo - n

b. Find any collision in SHA60v. You should find two different messages such that the Linux command:
echo -n msg | sha1sum -| cut -c1-15
produces the same answer when msg is replaced by each message. To enable us to verify your answer, please make sure the two messages are typable on a regular keyboard!
Hint: You should not write the code for SHA-1; you should use an existing library. Also, its a good idea to find shorter collisions first. For example, start off finding a collision for the first 24 bits (6 nibbles); thats a lot easier. The challenge that 60 bits gives you is that you probably cant store all the intermediate hashes you generate in memory (Read about Floyd's algorithm). Nevertheless, you should be able to write a program which finds a 60-bit collision in a few hours on a regular desktop or laptop computer. edit this code so the user enter the tow massges finding a collision for the first 60 bits

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

More Books

Students also viewed these Databases questions