edited by
14,422 views
22 22 votes

The total number of keys required for a set of $n$ individuals to be able to communicate with each other using secret key and public key cryptosystems, respectively are:

  1. $n(n-1)$ and $2n$
  2. $2n$ and $\dfrac{n(n - 1)}{2}$
  3. $\dfrac{n(n - 1)}{2}$ and $2n$
  4. $\dfrac{n(n - 1)}{2}$ and $n$

4 Answers

Best answer
47 47 votes

For private key crypto for communication between each pair of individuals on secret key will be required, so if an individual wants to communicate with other $\text{n-1}$ individuals he should have $\text{n-1}$ secret keys,

So, the total number of secret keys for private encryption,

$=n\times (n-1)$ (If we include copies) or $n\times \dfrac{(n-1)}{2}$ (distinct keys).

For public key encryption each individual needs to have a public and private key,
so the total keys required in $2\times n$.

From the tone of the question the answer seems to be C) $\dfrac{n(n-1)}{2}$ and $2n$.

edited by
27 27 votes
in private key encryption a key used for encryption as well as decryption.  so no of keys required for n individuals is same as no of communication link between any two individuals.
no links = nC2
no of keys = n*(n-1)/2

in case of Public key each sender has its own public as well as private key so no of keys are 2n..
1 1 vote

For a private key encryption

If there are 2 individuals then total number of distinct keys for communication will be 1 Similarly for 3 individuals we will need 2 distinct keys. Like ways for n users we will need n-1 keys So, total number of keys will be

1+2+3+…n-1 = (n (n-1)/2)

public key encryption scheme

Every individual will have two keys one public key and one private key.
Therefore, for n individuals to communicate we will have 2* n keys
Hence, the correct answer will be ((n(n – 1))/2) and 2n.

1 1 vote

For secret or symmetric key cryptography, we need a key between each pair of hosts. So, $n_{C_{2}}$ keys,

For public key cryptography, each host would have two keys — public key and private key. So, $2n$

Option C

Answer:
Position:
Show:

Related questions

32 32 votes
8 answers 8 answers
25.2k
25.2k views
Ishrat Jahan asked Oct 27, 2014
25,238 views
How many bytes of data can be sent in $15$ seconds over a serial link with baud rate of $9600$ in asynchronous mode with odd parity and two stop bits in the frame?$10,000...
28 28 votes
3 answers 3 answers
17.1k
17.1k views
Ishrat Jahan asked Oct 30, 2014
17,069 views
You are given the following four bytes : $$\begin{array}{| c | c | c | c |} \hline 10100011 & 00110111 & 11101001 & 10101011 \\\hline \end{array}$$ Which of the fol...
1 1 vote
0 0 answers
2.4k
2.4k views
Ishrat Jahan asked Oct 27, 2014
2,372 views
Consider the execution of the following commands in a shell on a Linux operating sys­tem.bash\$ cat alphaMathematicsbash\$ In alpha betabash\$ rm alphabash\$ cat > beta <...
10 10 votes
3 answers 3 answers
9.2k
9.2k views
Ishrat Jahan asked Oct 27, 2014
9,218 views
For problems X and Y, Y is NP-complete and X reduces to Y in polynomial time. Which of the following is TRUE?If X can be solved in polynomial time, then so can YX is NP-c...