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.)
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...
Let h(x,y)=k*x^2+6xy+14*y^2+4y+10. (a) Find the minimal value of the function h for k = 2. (b)...
Let h(x,y)=k*x^2+6xy+14*y^2+4y+10. (a) Find the minimal value of the function h for k = 2. (b) Using envelope theorem find approximate minimal value of h for k = 1.98.
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.
Find all solutions to the differential equations. (a) x^2 yy' = (y^2 − 1)^(3/2) (b) y'...
Find all solutions to the differential equations. (a) x^2 yy' = (y^2 − 1)^(3/2) (b) y' = 6xe^(x−y) (c) y' = (2x − 1)(y + 1) (d) (y^2 − 1) dy/dx = 4xy^2 Leave your answer as an implicit solution
(61). (Bernoulli’s Equation): Find the general solution of the following first-order differential equations:(a) x(dy/dx)+y= y^2+ln(x) (b)...
(61). (Bernoulli’s Equation): Find the general solution of the following first-order differential equations:(a) x(dy/dx)+y= y^2+ln(x) (b) (1/y^2)(dy/dx)+(1/xy)=1