liveBook · Manning

Elliptic-curve diffie-hellman

Elliptic-curve Diffie-Hellman is a public-key key-agreement method in which parties derive a shared secret through elliptic-curve point operations.

How 3 Manning books explain it

Real-World Cryptography

Elliptic Curve Diffie-Hellman is a public-key key exchange method based on elliptic-curve cryptography that lets parties derive a shared secret.

How it is used
Provides a compact public-key mechanism for deriving shared secrets in key exchanges and hybrid encryption.
How deep it goes
Explains parameter agreement, key generation, scalar operations, shared-secret equality, security assumptions, and key validation.
Examples
Uses Alice and Bob, base point G, P-256, Curve25519, and visual comparisons between ordinary DH and elliptic-curve groups.
What you can do after
Apply ECDH by selecting standardized curves, deriving matching shared secrets, validating public keys, and adding authentication where required.

Read how Real-World Cryptography explains elliptic-curve diffie-hellman →

Software Security for Developers

Elliptic-curve Diffie-Hellman is a Diffie-Hellman key-agreement algorithm based on the discrete-logarithm problem for points on elliptic curves.

How it is used
Generates shared symmetric keys for encrypted communication over insecure networks, including modern TLS deployments.
How deep it goes
Explains key exchange, security assumptions, curve selection, and deployment guidance but stops short of mathematical derivation.
Examples
Uses a payment service and warehouse service, public-key combinations, AES encryption, and approved curves such as Curve25519.
What you can do after
Configure ECDH through established secure protocols and select approved curves without implementing the underlying mathematics.

Read how Software Security for Developers explains elliptic-curve diffie-hellman →

Hacking Cryptography

Elliptic Curve Diffie–Hellman is a key-agreement protocol that performs Diffie–Hellman operations with elliptic-curve points instead of modular exponentiation.

How it is used
Uses elliptic-curve arithmetic to establish shared keys, especially as the primary key-exchange method in TLS 1.3.
How deep it goes
Defines the arithmetic substitution and protocol role, but defers ephemeral ECDH and perfect-forward-secrecy details.
Examples
Contrasts elliptic-curve point addition with modular exponentiation and situates ECDH in TLS 1.3.
What you can do after
Evaluate/understand how elliptic-curve arithmetic adapts Diffie–Hellman key agreement for TLS 1.3.

Read how Hacking Cryptography explains elliptic-curve diffie-hellman →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.