GATE 2015 CS – Question 24
Suppose that everyone in a group of $N$ people wants to communicate secretly with the $N-1$ others using symmetric key cryptographic system. The communication between any two persons should not be decodable by the others in the group. The number of keys required in the system as a whole to satisfy the confidentiality requirement is
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) $N(N-1)/2$
Explanation
Every pair of people needs its own secret key, shared only by the two of them. The number of pairs among $N$ people is $\binom{N}{2} = \frac{N(N-1)}{2}$.