Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q4 Bob believes that he has come up with a nifty hash function. He assigns a numeric value V Char to each letter in the

Q4 Bob believes that he has come up with a nifty hash function. He assigns a numeric value VCharto each letter in the alphabet equal to the letters position in the alphabet, i.e., VA= 1, VB= 2, , VZ= 26. For a message, he calculates the hash value H = (VChar 1 x VChar 2 x VChar 3 x VChar N) mod(26).

Bob uses this function to send a one-word message, GLARE, to his banker Bill, along with his calculated hash value for the message. Alice is able to intercept the message, and generates an alternative message that has a hash value that collides with Bobs original hash value.

Give definition and properties of the hash function.

Show a message that Alice may have used to spoof Bobs message, and demonstrate that its hash value collides with Bobs original hash.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions