Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have a question that I am having a hard time answering becuase I'm not fully clear on calculating the Diffie-Hellman public key algorithm. Please

I have a question that I am having a hard time answering becuase I'm not fully clear on calculating the Diffie-Hellman public key algorithm. Please help.

Question -

You are Alice. You have agreed with your friend Bob that you will use the Diffie-Hellman public-key algorithm to exchange secret keys. You and Bob have agreed to use the public base g = 7 and public modulus p = 941.

You have secretly picked the value SA = 17 You begin the session by sending Bob your calculated value of TA. Bob responds by sending you the value TB = 268.

What is the value of TA

What is the value of your shared secret key?

Can you guess Bobs secret value SB and what it would be?

Show each and every step of your calculations, if you use Excel for mod calculation include the spreadsheet, for any other method include the screenshot of that method

[without the spreadsheet or screenshot, you will not get the full credit]

for mod calculation, the following identity may be useful

mod(X*Y,p) = mod[mod(X,p)*mod(Y,p),p]

mod ( X^n, p) = mod [mod(X^k, p)*mod(X^m, p), p]; where k+m=n

e.g. mod (X^17, 941) = mod [mod (X^8, 941) *mod (X^9, 941), 941]; where 8+9=17

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

Databases Demystified

Authors: Andrew Oppel

1st Edition

0072253649, 9780072253641

More Books

Students also viewed these Databases questions

Question

3. Did you seek anyones advice?

Answered: 1 week ago