Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 4 MCQs Message integrity and Hash function

CSE403 — Network Security And Cryptography 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Message Integrity Easy

    What does message integrity ensure?

  2. Question 2 of 60 Message Integrity Easy

    Which technique is commonly used to check message integrity?

  3. Question 3 of 60 Message Integrity Easy

    What is the output of a cryptographic hash function commonly called?

  4. Question 4 of 60 Message Authentication Easy

    What does message authentication primarily verify?

  5. Question 5 of 60 Message Authentication Easy

    Which mechanism uses a shared secret key to authenticate a message?

  6. Question 6 of 60 Message Authentication Easy

    A digital signature can provide message authentication and what other property?

  7. Question 7 of 60 Message Authentication Easy

    Which key is normally used to create a digital signature?

  8. Question 8 of 60 Iterated Hash Function Easy

    What is the main idea of an iterated hash function?

  9. Question 9 of 60 Iterated Hash Function Easy

    What component is repeatedly applied in an iterated hash function?

  10. Question 10 of 60 Iterated Hash Function Easy

    What does an iterated hash function usually produce regardless of message length?

  11. Question 11 of 60 Iterated Hash Function Easy

    In an iterated hash function, what is usually processed first?

  12. Question 12 of 60 Whirlpool Easy

    What type of algorithm is Whirlpool?

  13. Question 13 of 60 Whirlpool Easy

    What is the output size of the Whirlpool hash function?

  14. Question 14 of 60 Whirlpool Easy

    Whirlpool is based on a design related to which type of operation?

  15. Question 15 of 60 SHA512 Easy

    What is the digest length produced by SHA-512?

  16. Question 16 of 60 SHA512 Easy

    What is the word size used by SHA-512?

  17. Question 17 of 60 SHA512 Easy

    What is the message block size used by SHA-512?

  18. Question 18 of 60 SHA512 Easy

    SHA-512 belongs to which family of hash algorithms?

  19. Question 19 of 60 Description of MD Hash family Easy

    What does MD commonly represent in names such as MD4 and MD5?

  20. Question 20 of 60 Description of MD Hash family Easy

    What is the digest size of MD5?

  21. Question 21 of 60 Message Integrity Medium

    A software vendor publishes a file and its SHA-512 digest on the same unsecured website. An attacker can modify both. What security property is missing?

  22. Question 22 of 60 Message Integrity Medium

    Two records produce the same digest under a hash function, although their contents differ. Which hash property has failed for these records?

  23. Question 23 of 60 Message Integrity Medium

    A receiver recomputes the hash of a message and obtains the expected value from a trusted source. What can the receiver reasonably conclude?

  24. Question 24 of 60 Message Authentication Medium

    Alice and Bob share a secret key and use HMAC on every message. Which pair of properties does a valid HMAC primarily provide?

  25. Question 25 of 60 Message Authentication Medium

    A protocol sends H(K || M) as an authentication tag, where K is secret and M is attacker-controlled. Why is HMAC generally preferred?

  26. Question 26 of 60 Message Authentication Medium

    Bob verifies a MAC created with a key shared only by Alice and Bob. Why does this MAC not provide strong nonrepudiation?

  27. Question 27 of 60 Message Authentication Medium

    An API authenticates requests with a valid MAC but accepts an old authenticated payment request again. Which additional mechanism most directly prevents this replay?

  28. Question 28 of 60 Iterated Hash Function Medium

    In a Merkle-Damgard-style iterated hash, what is passed from one message-block operation to the next?

  29. Question 29 of 60 Iterated Hash Function Medium

    Why does standard padding for many iterated hashes include an encoding of the original message length?

  30. Question 30 of 60 Iterated Hash Function Medium

    A Merkle-Damgard hash has an -bit chaining value. Ignoring structural weaknesses, approximately how many hash evaluations are expected to find a collision?

  31. Question 31 of 60 Iterated Hash Function Medium

    An attacker knows H(M) and the length of M for a vulnerable Merkle-Damgard hash. What may a length-extension attack allow the attacker to compute?

  32. Question 32 of 60 Whirlpool Medium

    Whirlpool processes a message using 512-bit blocks and produces a 512-bit digest. Which statement correctly compares these sizes?

  33. Question 33 of 60 Whirlpool Medium

    Whirlpool's internal transformation was designed using principles similar to which well-known type of primitive?

  34. Question 34 of 60 Whirlpool Medium

    Under an ideal-hash assumption, what is the approximate generic collision-security level of Whirlpool's 512-bit output?

  35. Question 35 of 60 SHA512 Medium

    A system stores a SHA-512 digest in hexadecimal. How many hexadecimal characters are required, excluding prefixes or separators?

  36. Question 36 of 60 SHA512 Medium

    SHA-512 is used to hash a message whose padded form contains three 1024-bit blocks. How many times is its compression function applied?

  37. Question 37 of 60 SHA512 Medium

    Which internal word size is used by SHA-512 for its main arithmetic and logical operations?

  38. Question 38 of 60 Description of MD Hash family Medium

    A legacy application uses MD5 to detect deliberate tampering by an adversary. What is the main reason to replace it?

  39. Question 39 of 60 Description of MD Hash family Medium

    MD5 outputs 128 bits, while MD4 also outputs 128 bits. Why is equal digest length insufficient to claim equal security?

  40. Question 40 of 60 Description of MD Hash family Medium

    A database stores MD5(password) for every user without salts. Which attack is made especially practical when many users choose the same password?

  41. Question 41 of 60 Message Integrity Hard

    An attacker is given a specific message and its digest , then attempts to construct a different message such that . Which security property is directly being attacked?

  42. Question 42 of 60 Message Integrity Hard

    Assuming an ideal -bit hash, approximately how many independently chosen messages are required for a probability of finding at least one collision?

  43. Question 43 of 60 Message Integrity Hard

    A software distributor publishes a file and its SHA-512 digest on the same unauthenticated server. An active attacker can modify both responses. Which conclusion is correct?

  44. Question 44 of 60 Message Authentication Hard

    A system authenticates messages using , where is a Merkle–Damgård hash and has a guessable length. Which forgery is enabled by length extension?

  45. Question 45 of 60 Message Authentication Hard

    Why does standard HMAC resist the ordinary length-extension attack that affects ?

  46. Question 46 of 60 Message Authentication Hard

    A zero-IV CBC-MAC is used without length binding. For one-block messages and , their tags are and . Which two-block message has the valid tag ?

  47. Question 47 of 60 Iterated Hash Function Hard

    For an ideal -bit Merkle–Damgård hash, Joux's multicollision technique constructs equal-length messages with the same digest. What is its approximate compression-function cost?

  48. Question 48 of 60 Iterated Hash Function Hard

    Which statement correctly describes the effect of Merkle–Damgård strengthening, where the encoded message length is included in the padding?

  49. Question 49 of 60 Iterated Hash Function Hard

    Consider Davies–Meyer compression , where is a block cipher under key . For a chosen , which value is an efficiently computable fixed point satisfying ?

  50. Question 50 of 60 Whirlpool Hard

    Let be Whirlpool's previous chaining value and the next message block. Which equation represents its Miyaguchi–Preneel compression step?

  51. Question 51 of 60 Whirlpool Hard

    Which structural description correctly matches the final Whirlpool specification?

  52. Question 52 of 60 Whirlpool Hard

    Whirlpool appends one bit, then zero bits, and finally a -bit length field. If the original message length is , what is the minimum value of ?

  53. Question 53 of 60 SHA512 Hard

    SHA-512 appends one bit, zero bits, and a -bit length field. If the original message length satisfies , how many zero bits are appended?

  54. Question 54 of 60 SHA512 Hard

    Which recurrence correctly generates SHA-512 message-schedule words for , with all additions modulo ?

  55. Question 55 of 60 SHA512 Hard

    For SHA-512's Boolean functions, let . What are and , respectively?

  56. Question 56 of 60 SHA512 Hard

    Which statement correctly distinguishes standardized SHA-512/256 from simply truncating an ordinary SHA-512 digest to bits?

  57. Question 57 of 60 SHA512 Hard

    Under an idealized analysis of full SHA-512 for ordinary fixed-length messages, which combination best describes its generic security and structural behavior?

  58. Question 58 of 60 Description of MD Hash family Hard

    MD5 appends one bit, then zero bits, and finally a -bit length field. If , what is the minimum value of ?

  59. Question 59 of 60 Description of MD Hash family Hard

    Which comparison between MD4 and MD5 is accurate?

  60. Question 60 of 60 Description of MD Hash family Hard

    Which feature most clearly distinguishes MD2 from the later MD4 and MD5 designs?

That's unit 4

Answer a few questions and your score shows up here.