Bitcoin Forum
July 11, 2024, 06:05:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Cryptography Related Question [Not Bitcoins]  (Read 382 times)
Joel_Jantsen (OP)
Legendary
*
Offline Offline

Activity: 1932
Merit: 1311

Get your game girl


View Profile
February 27, 2016, 12:01:49 AM
 #1

Not sure if this belongs here but could not find the other closest section to my query.
The question is :

Quote
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

The options are :

A) 2N
B) N(N – 1)
C) N(N – 1)/2
D) (N – 1)2


Need this for a project I'm working on.Logical explainations appreciated.
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1523


No I dont escrow anymore.


View Profile WWW
February 27, 2016, 12:51:54 AM
 #2

Not sure if this belongs here but could not find the other closest section to my query.
The question is :

Quote
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

The options are :

A) 2N
B) N(N – 1)
C) N(N – 1)/2
D) (N – 1)2


Need this for a project I'm working on.Logical explainations appreciated.

Sounds like Im doing your homework here. Oh well. We are using symmetric keys so each pair of people that wants to communicate need 1 key. If n is 3 and the names are Alice, Bob and Claire we get the following pairs.

A-B
A-C
B-C

All other possible pairs (like B-A) are doubles. I will leave it for you to find the general formular for any n. If you have trouble finding a solution start from 3 and ask yourself how many additional(!) keys you need to add for the 4th person. Repeat adding more people until you see a pattern and test for a higher number.

Im not really here, its just your imagination.
Joel_Jantsen (OP)
Legendary
*
Offline Offline

Activity: 1932
Merit: 1311

Get your game girl


View Profile
February 27, 2016, 05:55:24 PM
 #3

Sounds like Im doing your homework here. Oh well. We are using symmetric keys so each pair of people that wants to communicate need 1 key. If n is 3 and the names are Alice, Bob and Claire we get the following pairs.

A-B
A-C
B-C

All other possible pairs (like B-A) are doubles. I will leave it for you to find the general formular for any n. If you have trouble finding a solution start from 3 and ask yourself how many additional(!) keys you need to add for the 4th person. Repeat adding more people until you see a pattern and test for a higher number.

Problem solved .Thanks for tip sho.Yes it was a homework, exactly 5 marks you have helped me gain. Tongue
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!