CS FundamentalsHardGATE CS · Product company CS fundamentals
Which pair of primitives guarantees integrity and authenticity of a message between two parties that share a secret key, without providing non-repudiation?
- A. A MAC such as HMAC-SHA256
- B. A plain SHA-256 hash
- C. A digital signature with RSA
- D. Encryption with AES in ECB mode
Correct answer: A. A MAC such as HMAC-SHA256
A MAC needs the shared key to create or verify a tag, so it proves the message came from a key holder and was not changed; but either party could have made it, so no non-repudiation. A plain hash can be recomputed by an attacker, and signatures do provide non-repudiation.
More Computer Networks questions
- A switch network accidentally has a loop and Spanning Tree is disabled. A host sends one ARP broadcast. What happens?
- What does a route to 0.0.0.0/0 in a routing table mean?
- Root DNS servers are reachable at only 13 named addresses, yet there are well over a thousand server instances worldwide. How?
- A router's buffer holds packets for an output link with arrival rate a = 900 packets/s, packet size 1250 bytes and link rate 8 Mbps. What…
- Two hosts run TCP over a path whose MTU is 1500 at both ends but 1400 on an intermediate link, and an intermediate firewall blocks all…
- A DHCP server hands out addresses from 192.168.10.0/24, excluding .1 (gateway) and .2–.10 (static servers). At most how many clients can…