Knowledge Base
Elliptic-Curve Parameter
A

BLS12-381

Summary

Name:
BLS12-381
Long Name:
BLS12-381 elliptic curve (381-bit prime field)
Key size:
381 bits

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)
0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab
Copy to clipboard
Coefficient (a)
0x0
Copy to clipboard
Coefficient (b)
0x4
Copy to clipboard
Generator (x)
0x17f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb
Copy to clipboard
Generator (y)
0x8b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e1
Copy to clipboard
Order (n)
0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001
Copy to clipboard
Cofactor (h)
0x396c8c005555e1568c00aaab0000aaab
Copy to clipboard

Representations

PEM

-----BEGIN EC PARAMETERS-----
MIIBPQIBATA7BgcqhkjOPQEBAjAaARHqOX/mmksbp7ZDS6zXZHdLhPOFEr9nMNKg
9rD2JB6r//6xU///uf7/////qqswZAQwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEYQQX8dOnMZfXlCaVY4xPqawPw2iM
T5d0uQWhTjo/FxusWGxV6D/5ehrv+zrwCtsixrsIs/SB46qg8aCeMO10HYrk/PXg
ldXQCvYA2xjLLASz7dA8x0SiiIrkDKojKUbF5+ECIHPtp1MpnX1IMznYCAmh2AVT
vaQC//5b/v////8AAAABAhA5bIwAVVXhVowAqqsAAKqr
-----END EC PARAMETERS-----
Download ecparam.pem
Copy to clipboard

PARI/GP

p = 0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab;
a = 0x0;
b = 0x4;
E = ellinit([a, b], p);
G = [0x17f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb, 0x8b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e1];
n = 0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001;
h = 0x396c8c005555e1568c00aaab0000aaab;
Copy to clipboard

LaTeX

$\begin{aligned}
y^2 &\equiv x^3 + a x + b \pmod{p} \\
p &= 0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab \\
a &= 0x0 \\
b &= 0x4 \\
G &= (0x17f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb, 0x8b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e1) \\
n &= 0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001 \\
h &= 0x396c8c005555e1568c00aaab0000aaab
\end{aligned}$
Copy to clipboard