220k views
1 vote
3. Given a 32-bit plaintext block P and a 32-bit key K,

let (K, P) = (K + P) mod 2^32

For example:
if K = and P = ,
(K, P) = ( + ) mod 2^32 = mod 2^32 =

Let be a compression function defined by using the Davies-Meyer construction with block cipher . Let be a hash function defined by using the Merkle-Damgård construction using as the compression function and H0 = as the initial value for the 32-bit internal state.

Compute the chaining values H1, H2, H3, and H4 for the following message (broken into four 32-bit blocks): = (

User Roledenez
by
7.7k points

1 Answer

3 votes

Final answer:

The question asks for the chaining values using the Davies-Meyer and Merkle-Damgård constructions.

Step-by-step explanation:

The question is asking for the chaining values for a given message using the Davies-Meyer construction and Merkle-Damgård construction. The Davies-Meyer construction is a way of creating a compression function using a block cipher, and the Merkle-Damgård construction is a way of creating a hash function using the compression function. In this case, the compression function is defined by the equation (K, P) = (K + P) mod 2^32.

To find the chaining values H1, H2, H3, and H4 for the given message, the Davies-Meyer and Merkle-Damgård constructions need to be applied. This involves applying the compression function repeatedly on each block of the message, using the previous chaining value as part of the input.

It is not possible to provide the exact chaining values without knowing the specific message and key values.

User Robocab
by
7.9k points