Question

The Diffie-Hellman equations are Y(A)=. α X(A) mod q and K=Y(B) X(A) mod q.  Y(A) and  Y(B)  are the...

The Diffie-Hellman equations are Y(A)=. α X(A) mod q and K=Y(B) X(A) mod q.  Y(A) and  Y(B)  are the public keys of A and B; X(A) is the private key of A; K is the shared key, α is a primitive root of q. Suppose that q=13,  α=2, X(A)=2 and Y(B)=4. Find the followings: (Showing your work)

  • A’s public key
  • The shared key

Homework Answers

Answer #1

Solution:

Given,

=>Diffie-Hellman algorithm is used.

=>Private key of A (X(A)) = 2

=>Private key of B (X(B)) = 4

=>q = 13 and = 2

Explanation:

Finding public key of A's:

=>Public key of A (Y(A)) = ^X(A) mod q

=>Public key of A (Y(A)) = 2^2 mod 13

=>Public key of A (Y(A)) = 4 mod 13

=>Public key of A (Y(A)) = 4

Finding value of Y(B):

=>Public key of B (Y(B)) = ^X(B) mod q

=>Public key of B (Y(B)) = 2^4 mod 13

=>Public key of B (Y(B)) = 16 mod 13

=>Public key of B (Y(B)) = 3

Finding shared key:

=>Shared key(K) = Y(B)^X(A) mod q

=>Shared key(K) = 3^2 mod 13

=>Shared key(K) = 9 mod 13

=>Shared key(K) = 9

I have explained each and every part with the help of statements attached to it.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Question2: Alice and Bob use the Diffie-Hellman key exchange technique with a common prime q =...
Question2: Alice and Bob use the Diffie-Hellman key exchange technique with a common prime q = 2 3 and a primitive root a = 5 . a. If Bob has a public key YB = 1 0 , what is Bob’s private key YB? b. If Alice has a public key YA = 8 , what is the shared key K with Bob? c. Show that 5 is a primitive root of 23. (Don’t forget to show your work briefly.)
Copy the file SimplerBST.java from the week 1 examples package and rename the file and class...
Copy the file SimplerBST.java from the week 1 examples package and rename the file and class A3BST. Add two public methods: one named countTwins that takes no parameters and that, when called, traverses every node of the tree to count the number of nodes having two children. one named lessThanValueCount that takes a paremeter of generic type V, and that, when called, traverses every node of the tree to count the number of nodes whose value (not its key) is...
Consider the ElGamal scheme (described in section 10.2) with q = 11 and α = 6....
Consider the ElGamal scheme (described in section 10.2) with q = 11 and α = 6. A has a private key XA = 2 and public key YA = 3. (a) B choses the random integer k = 3, and the plaintext B wants to encrypt is M = 6. Show what will be calculations done by B to get the value of the ciphertext C1, C2. (b) Show what will be calculations done by A to recover the plaintext...
QUESTION 19 A key distribution and authentication method used by every operating system. It uses a...
QUESTION 19 A key distribution and authentication method used by every operating system. It uses a shared secret key and can also be used for single sign-on operations. 2 points    QUESTION 20 Authentication method that allows a user to authenticate once and use multiple services without having to re-authenticate. 2 points    QUESTION 21 Protocol that establishes the security association for the Authentication Header (AH) or the Encapsulating Security Payload (ESP) in IPsec, and provides keys for both AH...
Q)A population follows a generalized logistics growth given by. dx/dt=(rx/α) [1-(x/k)^α],α>0. 1)find the exact solution of...
Q)A population follows a generalized logistics growth given by. dx/dt=(rx/α) [1-(x/k)^α],α>0. 1)find the exact solution of this differential equation and show that the limiting population is still k. 2)what happen to the model if α→0 and α→-1?
Consider two countries X and Y. The production function is y = A*k^α*h^(1-α), where α =...
Consider two countries X and Y. The production function is y = A*k^α*h^(1-α), where α = 0.5. The following data are available. Output per worker, y: Country X=200, Country Y=400; Physical capital per worker, k: Country X=64, Country Y=64; Human capital per worker, h: Country X=16, Country Y= 36. 1) Productivity level A in country X is.. a)2.09 b)6.25 c)8.33 d)16.67 2) Productivity level A in country Y is.. a)2.09 b)4.17 c)8.33 d)16.67 3) Calculate the countries' relative levels of...
a) Find the values of x and y in order to maximize the value of Q....
a) Find the values of x and y in order to maximize the value of Q. 2x+y=10 3x^2y=Q b) Find the number of units you will have to produce if you want to maximize profit if the cost and price equations are given below. Then find the maximum profit made. (6 points) C(x)= 4x+10 R(x)= 50x-0.5x^2 Units Produced: ____________________ Maximum Profit: ____________________ (Please show all work possible)
suppose that X ~ Bin(n, p) a. show that E(X^k)=npE((Y+1)^(k-1)) where Y ~ Bin(n-1, p) b....
suppose that X ~ Bin(n, p) a. show that E(X^k)=npE((Y+1)^(k-1)) where Y ~ Bin(n-1, p) b. use part (a) to find E(x^2)
2. Solve the following systems of equations. y=x^2−4x+4and2y=x+4 Group of answer choices (4,4) (12,94)and(4,4) (94,12) 3....
2. Solve the following systems of equations. y=x^2−4x+4and2y=x+4 Group of answer choices (4,4) (12,94)and(4,4) (94,12) 3. The axis of symmetry for f(x)=2x^2−3x+4 is x = k. What is the value of k? 4. The horizontal asymptote for f(x)=3^x+8 is y = k. What is the value of k? 5. For which equation is the solution set {3, 4}? Group of answer choices x^2−9x=16 x^2+3x+4 x^2−7x+12 6. Find the smaller root of the equation Group of answer choices -2 2 -4...
Suppose y^2 = x^3+ax+b with a, b ∈ Q defines an elliptic curve. Show that there...
Suppose y^2 = x^3+ax+b with a, b ∈ Q defines an elliptic curve. Show that there is another equation Y^2 = X^3 + AX + B with A, B ∈ Z whose solutions are in bijection with the solutions to y^2 = x^3+ax+b.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT