Question: This question relates to hash functions for block ciphers ( sec 1 1 . 3 . 2 ) Block size = 4 bits Hash size

This question relates to hash functions for block ciphers (sec 11.3.2)
Block size =4 bits
Hash size =4 bits
Encryption function: Divide the key into two halves: LK and RK; Divide the plaintext into two halves: LT and RT; Then ciphertext=LC||RC where LC=LK XOR RT; and RC= RK XOR LT; where LC, RC, LT, and RT are each 2 bits; Plaintext and ciphertext are each 4 bits.
g(H)= a 4-bit string that is equal to the complement of bits in H ; For example, if H=A(Hexa)=1010(binary); then g(H)=0101
HO = Initial hash = C (in Hexa)
Given message M: D9(in Hexa);
a.[Points 6] Determine the hash (in hexadecimal) of the message M using Martyas-Meyer-Oseas hash function (Fig.11.6).
b.[Points 6] Determine the hash (in hexadecimal) of the message M using Davis-Meyer hash function (Fig.11.7)
c.[Points 6] Determine the hash (in hexadecimal) of the message M using MigayuchiPreneel hash function (Fig.11.7)
Upload
This question relates to hash functions for block

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!