ECDH

Elliptic curve Diffie-Hellman: key agreement carried out on an elliptic curve, so two parties reach a shared secret using small keys and fast maths.

In more detail

ECDH stands for elliptic curve Diffie-Hellman. Each side combines its own private key with the other side's public key and both arrive at the same shared secret, as in classic Diffie-Hellman, but the public keys are tens of bytes instead of hundreds. X25519 is the most widely used ECDH function in TLS 1.3, and like any unauthenticated exchange it needs signatures or certificates to stop a man-in-the-middle.

Example

openssl pkeyutl -derive -inkey alice.key -peerkey bob.pub -out alice.bin

Related terms

Taught in

References

Certification courses