Skip to content
Vol. 1 · Ed. 2026
CyberGlossary
Entry № 287

Curve25519

Reviewed byCybersecurity entrepreneur & security researcher

What is Curve25519?

Curve25519A Montgomery elliptic curve designed by Daniel J. Bernstein, used in the X25519 Diffie-Hellman function specified in RFC 7748 with ~128-bit security.


Curve25519 is the Montgomery curve y² = x³ + 486662x² + x over the prime field 2²⁵⁵ − 19, published by Daniel J. Bernstein in 2005. X25519, defined in RFC 7748, is the Elliptic Curve Diffie-Hellman key agreement that operates on Curve25519 using only the x-coordinate via the Montgomery ladder. It turns 32-byte public and private keys into a 32-byte shared secret with roughly 128 bits of security, and its design deliberately enables complete, constant-time, side-channel-resistant implementations with no invalid-curve or point-validation pitfalls.

Bernstein chose the curve to sidestep the trust problems around the NIST P-curves: the parameters are small and transparently derived, so there is little room for a hidden backdoor. X25519 is the default key exchange in TLS 1.3 (named group x25519), SSH, WireGuard, Signal's X3DH, the Noise Protocol Framework, and Tor v3 onion services. It also anchors modern hybrid post-quantum handshakes — X25519MLKEM768 (formerly x25519kyber768), standardized for TLS 1.3 and now widely deployed by browsers and Cloudflare, combines X25519 with ML-KEM so the session stays secure even if one component is broken. The closely related Ed25519 signature scheme uses the birationally equivalent twisted Edwards curve edwards25519.

flowchart LR
  subgraph Alice
    a[private a] --> Apub[public A = a·G]
  end
  subgraph Bob
    b[private b] --> Bpub[public B = b·G]
  end
  Apub -->|send A| Bob
  Bpub -->|send B| Alice
  Bpub --> S1[a·B]
  Apub --> S2[b·A]
  S1 --> K[Shared secret<br/>32 bytes]
  S2 --> K
  K --> KDF[Derive session keys]

● Examples

  1. 01

    TLS 1.3 named group `x25519` is the default ECDH curve.

  2. 02

    WireGuard performs an X25519 handshake to derive its session keys.

● Frequently asked questions

What is Curve25519?

A Montgomery elliptic curve designed by Daniel J. Bernstein, used in the X25519 Diffie-Hellman function specified in RFC 7748 with ~128-bit security. It belongs to the Cryptography category of cybersecurity.

What does Curve25519 mean?

A Montgomery elliptic curve designed by Daniel J. Bernstein, used in the X25519 Diffie-Hellman function specified in RFC 7748 with ~128-bit security.

How do you defend against Curve25519?

Defences for Curve25519 typically combine technical controls and operational practices, as detailed in the full definition above.

What are other names for Curve25519?

Common alternative names include: X25519, curve25519-donna.

● Related terms

● See also