Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume there is a Trusted Third Party ( TTP ) , a client C , and a server S . Setup. TTP will be LU

Assume there is a Trusted Third Party (TTP), a client C, and a server S.
Setup.
TTP will be LU2, Server will be LU22, and the client will be LU4
1) Create a public/private key pair for the TTP.
2) Import public key of TTP for C.
3) Create public/private key pair for S.
4) Have TTP sign the public key for S.
C now wants to connect to S.
Handshake
5) C downloads signed public key of S
6) Verify the public keys signature is correct.
7) C encrypts Hello using Ss public key
8) S decrypts the message and sends back a list of supported symmetric-key algorithms (e.g.
AES-128-CBC, etc.) and hash functions (e.g. MD5, SHA1, etc.)
You can pick the list of algorithms
9) C selects one of the symmetric-key algorithms and one of the hash functions, generates a
symmetric key, and sends that symmetric key and selected algorithms, encrypted under Ss
public key. If needed, make sure you are also send the IV (Initialization Vector).
You can decide on the format, whether its space-separated or comma-separated or lineseparated. You can assume both C and S know the format.
10) C encrypts Ready using the symmetric key and creates a hash (for integrity).
11) C sends both the encrypted message and hash to S.
12) S verifies integrity of message and decrypts the message.
13) S encrypts Ready 2! using the symmetric key and creates a hash.
14) S sends both the encrypted message and hash to C.
15) C verifies integrity of message and decrypts the message.
Can you show the step by step commands for each part when working in the command prompt.

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

Students also viewed these Databases questions