Knowledge Base
Elliptic-Curve Parameter
A

Curve25519

Summary

Name:
Curve25519
Long Name:
Curve25519 Montgomery curve (255-bit prime field)
Key size:
255 bits
Object identifier:
1.3.101.110
Aliases:
X25519, curve25519

Check your host!

Type a URL to analyze a service

Get a prompt and clear overview of your security configuration. Right now!

Security

A+
Key Size
Security

The elliptic-curve cryptography[118][119][120][121] is an approach to public-key cryptography[164][165][166] based on the elliptic curve[116][117]s. The most important property in terms of encryption strength, beyond the designer is elliptic curve key size[292][293][294]. All the key sizes available are considered secure, so there is no consideration about it.

A+
Trusted Design
Security

The elliptic-curve cryptography[118][119][120][121] is an approach to public-key cryptography[164][165][166] based on the elliptic curve[116][117]s. Note that there is controversy[287][288][289][290][291] around some of the National Institute of Standards and Technology[470][471] designed elliptic curveselliptic curves designed by NIST[285][286]. This elliptic curve designed by independent researcher[284] Daniel J. Bernstein[476][477] and there is no evidence for any compromise.

Recommendations

Add at least one elliptic curve to the list of elliptic curves supported by your server designed by independent researchers and prefer them as server configuration makes it possible.

A
Post-Quantum
Security

The elliptic curve[116][117] cryptography provides no protection against a cryptanalytic attack by a quantum computer, and no classical elliptic curve does — just as classical Diffie-Hellman does not — because a quantum computer breaks the hardness assumption they rely on. Only a hybrid key exchange (a classical algorithm combined with a post-quantum cryptography[158][159] one) or a pure post-quantum algorithm is quantum-safe.

Recommendations

Enable a hybrid key exchange or a pure post-quantum algorithm on your server, and prefer it where the configuration allows, so the connection stays secure against a future quantum computer.

Parameter Numbers

Prime (p)
0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
Copy to clipboard
Coefficient (a)
0x76d06
Copy to clipboard
Coefficient (b)
0x1
Copy to clipboard
Order (n)
0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed
Copy to clipboard
Cofactor (h)
0x8
Copy to clipboard

Representations

PEM

-----BEGIN EC PARAMETERS-----
BgMrZW4=
-----END EC PARAMETERS-----
Download ecparam.pem
Copy to clipboard

PARI/GP

p = 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed;
A = 0x76d06;
B = 0x1;
\\ curve: B*y^2 = x^3 + A*x^2 + x over GF(p)
G = [0x9, 0x20ae19a1b8a086b4e01edd2c7748d14c923d4d7e6d7c61b229e9c5a27eced3d9];
n = 0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed;
h = 0x8;
Copy to clipboard

LaTeX

$\begin{aligned}
b y^2 &\equiv x^3 + a x^2 + x \pmod{p} \\
p &= 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed \\
a &= 0x76d06 \\
b &= 0x1 \\
G &= (0x9, 0x20ae19a1b8a086b4e01edd2c7748d14c923d4d7e6d7c61b229e9c5a27eced3d9) \\
n &= 0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed \\
h &= 0x8
\end{aligned}$
Copy to clipboard