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?
Let us take N people want to communicate with each of N – 1 other people using symmetric key encryption.
All communication to all other people in this group of N, and no other person in this group should be able to decode their communication.
Then the required in the system as a whole is N*(N-1)/2.
Let us take that public key encryption is used.
Then the required in this case as a whole is N*(N-1)/2N.