GATE / CS ARCHIVE

GATE CSE 2015 SET 1 / QUESTION 24

GATE CSE 2015 Set 1 Q24

Computer Networks · Network Security · Full GATE CSE 2015 Set 1 paper

GATE 2015 Set 1, Q24 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Network Security

Question 24, GATE 2015: N people want pairwise secret communication using symmetric encryption, confidential even from other group members. How many keys are needed in the whole system? A 2N; B N(N−1); C N(N−1)/2; D (N−1)^2.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

A symmetric key can serve both directions of one pair's communication. Count unordered pairs: choose the first member in N ways and the second in N−1 ways, then divide by two because each pair was counted twice. One group-wide key would violate secrecy from other members, while N(N−1) unnecessarily counts two directional keys per pair.

Solution: Every unordered pair needs its own secret key so that third members cannot decode its traffic. There are C(N, 2)=N(N−1)/2 pairs, C.

Original paper, page 10 · Answer key