Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We look at a hash function that computes an 8 - bit hash value by applying the following equation: C i = b i 1
We look at a hash function that computes an bit hash value by applying the following equation:
where
th bit of the hash code,
number of bit blocks in the input
th bit in the th block.
Every block of bits is the binary string corresponding to the letterASCII code appearing in the message.
a Encode the string CRYPTO to its binary representation.
b Calculate the hash value of the character string using the above defined equation.
c "Break" the hash function by pointing out how it is possible to find meaningful character strings which result in the same hash value. Provide an appropriate example.
d Which crucial property of hash functions is missing in this case?
The next page contains the correspondence between letters and ASCII codes
tableABI
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started