V VPN Glossaryvpnglossary.com
163 entries · 2026 ed.
№ 027 / 163 C Encryption

Curve25519 (X25519)

Curve25519 is an elliptic curve by Daniel J. Bernstein; X25519 is the key exchange built on it, used by WireGuard, TLS 1.3 and Signal.

§ 01

Definition

Curve25519 was published in 2006 and standardised for key agreement in RFC 7748. It was designed to be fast and to avoid common implementation mistakes, such as timing leaks, that affected older curves.

§ 02

How it works

Each side picks a random 32-byte private key and computes a public key. Exchanging public keys lets both sides compute the same shared secret, an elliptic-curve Diffie-Hellman exchange. WireGuard uses X25519 for both its long-term keys and its per-session ephemeral keys.

§ 03

Why it matters

X25519 is now the default key exchange in most modern encrypted connections. It is not resistant to large quantum computers, which is why providers are adding hybrid post-quantum key exchange such as ML-KEM alongside it.

/ Sources

  1. RFC 7748: Elliptic Curves for Security
  2. Bernstein, 'Curve25519: new Diffie-Hellman speed records' (2006)