In: Computer Science
Question 7: Explain how public key encryption ensure both Confidentiality and Authentication.
Public key encryption is a widely used encryption technique to communicate between two parties by using a set of two keys public key and private key out which one key is used for encrypting (changing the plain text message into some random text) the message and one key is used for decrypting (changing the random strings into plain text) the message. It is one of the most popular method of encryption because it ensures both confidentiality and authentication , it maintains confidentiality as the key which used for encryption and decryption is only known by the user who are sending and rceiving the message and it is a machine generated key so there can be no error in the key and it maintains confidentiality as both the users dont have to communicate and share their personal information for communication and it maintains authentication also for example if person A wants to communicate with person B he will encrypt the message using his private key and will send the message to person B and when person B will receive the message from person A he will decrypt the message by using the matching public key sent by the person A so if the message will decrypt it will prove that the message was sent by person A thus it also ensures authentication