Assignment 1 IIS
Assignment 1 IIS
Submitted To:
Mrs. Rubab Hafeez
Department of Computer Science
Q1: How many keys are required for two people to communicate via a
symmetric cipher?
Ans: That depends on whether you use a symmetric or asymmetric algorithm. If you use a
symmetric key, it means both people have the same key which has been pre-shared via some
secure means. In that case, only one key is required, both parties in the communication use
the same key to encrypt and decrypt all messages. If you use an asymmetric key algorithm, it
takes at least 4 keys total when sending a message each user will encrypt their message with
the public key of the. Each recipient must then use their private key to decrypt the messages
they receive.