X25519, X448 and FourQElliptic Curve Diffie Hellman (ECDH) is used to create a shared key. In this we use the elliptic curve defined as Curve 25519 to generate points on the curve. Bob will generate a public key (\(B\)) and private key (\(b\)), as will Alice (\(A\) and \(a\)). They then exchange their public keys, and the shared key will then be \(a \times b \times G\), and where \(G\) is the generator point on the elliptic curve.
|