Suppose N people want to communicate with each of N- 1 other people using symmetric key encryption. All communication between any two people, i and j, is visible to all other people in this group of N, and no other person in this group should be able to decode their communication. How many keys are required in the system as a whole? Now suppose that public key encryption is used. How many keys are required in this case?
I have found two answers for symmetric that state it is either n(n-1)/2 or n(n-1), the former makes most sense to me.
For public I have found either 2N keys or N keys. Again the former makes most sense to me here.
Could someone shed some light on the correct answers?