Question

In: Advanced Math

I need an example of how to solve the Diffie-Hellman protocol if you know Bobs number...

I need an example of how to solve the Diffie-Hellman protocol if you know Bobs number and the padlock combination but you need to find Alice number

Solutions

Expert Solution

Diffie-Hellman protocol gives us the shared secret key for communication between bob and alice..

the example for this is

Step 1: Let Alice and Bob get public numbers P = 23, G = 9(these are public ones to Alice and Bob)

Step 2: Alice selected a private key a = 4 and
        Bob selected a private key b = 3

Step 3: Alice and Bob compute public values
Alice:    x =(9^4 mod 23) = (6561 mod 23) = 6
        Bob:    y = (9^3 mod 23) = (729 mod 23)  = 16

Step 4: Alice and Bob exchange public numbers

Step 5: Alice receives public key y =16 and
        Bob receives public key x = 6

Step 6: Alice and Bob compute symmetric keys
        Alice:  ka = y^a mod p = 65536 mod 23 = 9
        Bob:    kb = x^b mod p = 216 mod 23 = 9

Step 7: 9 is the shared secret key.

finally we got the shared secret key between Bob and Alice by there initial transfer of computed values x,y.

now they can use shared secret key to communicate


Related Solutions

Critical Thinking 3-7: Diffie-Hellman Research How does Diffie-Hellman work? Use the Internet to research this this...
Critical Thinking 3-7: Diffie-Hellman Research How does Diffie-Hellman work? Use the Internet to research this this key-sharing function. Then visit the website dkerr.home.mindspring.com/diffie_hellman_calc.html to see how values are created. Write a one-page paper on Diffie-Hellman.
Alice and Bob setup an elliptic curve Diffie-Hellman key exchange protocol with thesame field, curveEand pointPas...
Alice and Bob setup an elliptic curve Diffie-Hellman key exchange protocol with thesame field, curveEand pointPas given in Problem 1.Suppose that Alice selected random numbera= 3and Bob selectedb= 4, show the stepsperformed by Alice and Bob to obtain their shared key. What isthe key?
I need to know how to solve this on paper and on a ti-84 A new...
I need to know how to solve this on paper and on a ti-84 A new otc medicine to treat a sore throat is to be tested for its effectiveness. The maker of the drugmedicine take 2 random samples of 25 individuals showing symptoms of a sore throat. Group 1 receives the new medicine and group 2 recieves a placebo. After a few days of the medicine, each group is interviewed and asked how they would rate their comfort level...
Name two emergencies that you may need to know how to initiate the emergency protocol.
Name two emergencies that you may need to know how to initiate the emergency protocol.
(I also need to know how to solve this on a TI-83) 6. For the following...
(I also need to know how to solve this on a TI-83) 6. For the following data set: x 5.7 4.1 6.2 4.4 6.5 5.8 4.9 y 1.9 4.8 0.8 3.9 1.2 1.7 3.0 (A) Compute the coefficient of determination. (B) How much of the variation in the outcome variable is explained by the least-squares regression line?
how can i find the number of linear discriminant functions? I need to know how i...
how can i find the number of linear discriminant functions? I need to know how i can find out if there is one function, two functions, more? how do i know how many LDF's are there?
PLEASE ANSWER FAST I NEED TO KNOW HOW TO SOLVE THIS Assume that the following conditions...
PLEASE ANSWER FAST I NEED TO KNOW HOW TO SOLVE THIS Assume that the following conditions exist. a. All banks are fully loaned​ up-there are no excess​ reserves, and desired excess reserves are always zero. b. The money multiplier is 5. c. The planned investment schedule is such that at a 6 percent rate of​ interest, investment is ​$1200 ​billion; at 5​ percent, investment is ​$1220 billion. d. The investment multiplier is 4. e. The initial equilibrium level of real...
I KNOW THOSE ANSWERS BUT I NEED HOW TO SOLVE Q1 ANSWER E(1487) Q B Q...
I KNOW THOSE ANSWERS BUT I NEED HOW TO SOLVE Q1 ANSWER E(1487) Q B Q 1 What is the equilibrium constant for the reaction shown below? glutathione + NADPH + H+ ↔ reduced glutathione + reduced glutathione + NADP+ A. 1.073 B. 1,487 C. 17.4 D. 0.073 E. 7.03 2. Under standard conditions, is the oxidation of NADH by free FAD sufficiently exergonic to drive the synthesis of ATP? no, as oxidation of NADH by FAD only generates –9.65...
This is the first question and I know how to solve this one, but I am...
This is the first question and I know how to solve this one, but I am confused by the second one (The admissions office of a small, selective liberal-arts college will only offer admission to applicants who have a certain mix of accomplishments, including a combined SAT score of 1,300 or more. Based on past records, the head of admissions feels that the probability is 0.58 that an admitted applicant will come to the college. If 500 applicants are admitted,...
Here is the question. I understand what the answer is but need to know how you...
Here is the question. I understand what the answer is but need to know how you calculate the PV at 12% in year 5 to equal .567. You have worked in XYZ Corporation for the last five years and have a more optimistic view of the firm's future FCFs. In your personal/professional opinion, XYZ could generate $4 million FCF next year, $4.5 million in year two, $5 million in year three, $5.5 million in year four, $6 million in year...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT