Question: Needed in python. Implement Mechanism 1 and 2. Ensure that you show your implementation for all parts, including how Bob authenticates the message sent to

Needed in python.

Needed in python. Implement Mechanism 1 and 2. Ensure that you showImplement Mechanism 1 and 2. Ensure that you show your implementation for all parts, including how Bob authenticates the message sent to him from Alice.

1. Alice generates a 2048-bit private and public key.

2. Alice and Bob negotiate a shared key (Ks) using Diffie-Hellman protocol with p = 23 and g =17.

3. Alice hashes the message: To prevent the spread of germs, you should wash your hands with soap and water for at least 20 seconds or use a hand sanitizer with at least 60% alcohol to clean hands.

4. She encrypts the hash using her private key to produce a message digest.

5. Her public key is encrypted using the DES/AES algorithm. The secret DES/AES key (Ks) used is from step 2.

The purpose of this assignment is to understand which cryptographic functions can be used to accomplish a certain security objective. In this exercise Alice will send a short message to Bob. The message would be sent to Bob along with an encrypted message digest. Bob is required to authenticate and verify the integrity of the message sent. Assumptions: 1. A client-server architecture is used for communication by Alice and Bob. 2. An attacker is on the data path that data passes. 3. An attacker can do the following: i. Eavesdrop on messages, i.e. listen to the transmission ii. Modify messages iii. Impersonation attacks. You were required to implement mechanisms for Bob security services. Message integrity - Mechanism 1. Authenticity of the sender - Mechanism 2. To do this you decide to utilize Python Libraries. All implementations should be done in Python. The purpose of this assignment is to understand which cryptographic functions can be used to accomplish a certain security objective. In this exercise Alice will send a short message to Bob. The message would be sent to Bob along with an encrypted message digest. Bob is required to authenticate and verify the integrity of the message sent. Assumptions: 1. A client-server architecture is used for communication by Alice and Bob. 2. An attacker is on the data path that data passes. 3. An attacker can do the following: i. Eavesdrop on messages, i.e. listen to the transmission ii. Modify messages iii. Impersonation attacks. You were required to implement mechanisms for Bob security services. Message integrity - Mechanism 1. Authenticity of the sender - Mechanism 2. To do this you decide to utilize Python Libraries. All implementations should be done in Python

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!