Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribedImplement 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions