How does Diffie-Hellman cryptography work with elliptic curve?

Does the elliptic curve calculate an Elmen calculation different from the standard one defined here:

            /*
             * The basic Diffie-Hellman Key Agreement Equation 
             * 
             * The client initiates
             * A = g^a mod p
             * 
             * Sends (g p A) to the server
             * 
             * The server calculates B
             * B = g^b mod p
             * 
             * Sends B back to client
             * 
             * The client calculates K
             * K = B^a mod p
             * 
             * The server calucaltes K
             * K = A^b mod p
             * 
             */

Or is it just a specific way of choosing g, a, p, and b? How is g, a, p and b anyway?

+3
source share
1 answer

The basic principle is the same, but the choice of the private key and the method of calculating the public key are significantly different. In addition, everyone must agree in advance on the use of an elliptical curve.

, - , . , . , , , , , , . .

:

  • E, .
  • G, E, .

E G .

ECC-DH d [1, n-1], n order G. Q Q = dG. , , re .

+7

Source: https://habr.com/ru/post/1742522/


All Articles