Question: QUESTION 1 (a) A block cipher of length 64 bits is used as a hashing function. (i) Sketch the block diagram for the hashing function
QUESTION 1
(a) A block cipher of length 64 bits is used as a hashing function.
(i) Sketch the block diagram for the hashing function if the message length is 512 bits.
(ii) Explain how to use the hashing function described as a cipher and what is the advantage?
b) The parameters for an El-Gamal signature are as follows: Primitive element a=7,and prime number q =13.
- For a number between 3 to 11, calculate a suitable public key that can be assigned to the users.
- To encrypt a message m=8, a random seed r=5 is generated. Calculate the generator function is sent together with the cipher text.
- The RSA public key cipher can be used to generate a digital signature. Is this applicable to the El-Gamal public key cipher?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
