Knowledge Base
Diffie-Hellman Parameter
F

768-bit ProFTPD 1.3.8 builtin DH parameter

Summary

Name:
768-bit ProFTPD 1.3.8 builtin DH parameter
Key size:
768 bits
Publishers:

Check your host!

Type a URL to analyze a service

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

Security

F
Key Size
Name

768

Security

The Diffie-Hellman ephemeral public key parameter[409][410][411] with prime size less or equal than 768-bit[425] is weakened against logjam attack[7][8][9][10], but can only be exploited by an academic team.

Recommendations

Use a well-known Diffie-Hellman ephemeral public key parameter[426][427][428], or generate a custom Diffie-Hellman ephemeral public key parameter[409][410][411] with a size greater or equal than 2048 bits but less or equal than 4096 bits. In the case of custom parameters, validate that the prime is a safe prime[176] to avoid a small subgroup confinement attack[72][73].

A+
Prime
Name

Safe Prime

Security

Diffie-Hellman ephemeral public key parameter[409][410][411] contains a safe prime[176], so the connection is certainly not vulnerable to a small subgroup confinement attack[72][73].

A
Post-Quantum
Name

False

Security

The Diffie-Hellman[99][100][101][102][103] key exchange provides no protection against a cryptanalytic attack by a quantum computer, and no classical Diffie-Hellman does — just as no classical elliptic curve does — 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)
0x919a5f1173f0f1bd303e3d368a1f983a54962acb0e5b1ef57eb67b93bde56575fb9ba22056a59a5ac04b5fc369601527eb1bc4ba56858b436be1f31e9c00cc3da2248a22af5d2e422b3a4292c76c6a739db557a3496678ad3972b76abb190b0b
Copy to clipboard
Generator (g)
0x5
Copy to clipboard

Representations

PEM

Default private value length
-----BEGIN DH PARAMETERS-----
MGYCYQCRml8Rc/DxvTA+PTaKH5g6VJYqyw5bHvV+tnuTveVldfuboiBWpZpawEtf
w2lgFSfrG8S6VoWLQ2vh8x6cAMw9oiSKIq9dLkIrOkKSx2xqc521V6NJZnitOXK3
arsZCwsCAQU=
-----END DH PARAMETERS-----
Download dhparam.pem
Copy to clipboard
Small private value length
-----BEGIN DH PARAMETERS-----
MGoCYQCRml8Rc/DxvTA+PTaKH5g6VJYqyw5bHvV+tnuTveVldfuboiBWpZpawEtf
w2lgFSfrG8S6VoWLQ2vh8x6cAMw9oiSKIq9dLkIrOkKSx2xqc521V6NJZnitOXK3
arsZCwsCAQUCAgDh
-----END DH PARAMETERS-----
Download dhparam-small.pem
Copy to clipboard

PARI/GP

powermod(x, k, m) = lift(Mod(x, m) ^ k);

g = 0x5;
p = 0x919a5f1173f0f1bd303e3d368a1f983a54962acb0e5b1ef57eb67b93bde56575fb9ba22056a59a5ac04b5fc369601527eb1bc4ba56858b436be1f31e9c00cc3da2248a22af5d2e422b3a4292c76c6a739db557a3496678ad3972b76abb190b0b;
s = 256;

a = 2 ^ (s - 1) + random(2 ^ (s - 1));
A = powermod(g, a, p);

b = 2 ^ (s - 1) + random(2 ^ (s - 1));
B = powermod(g, b, p);

S = powermod(B, a, p);
Copy to clipboard

LaTeX

$\begin{eqnarray}
p \equiv 0x919a5f1173f0f1bd303e3d368a1f983a54962acb0e5b1ef57eb67b93bde56575fb9ba22056a59a5ac04b5fc369601527eb1bc4ba56858b436be1f31e9c00cc3da2248a22af5d2e422b3a4292c76c6a739db557a3496678ad3972b76abb190b0b \\
g \equiv 0x5 \\
\\
a \in \mathbb{Z}_q \\
b \in \mathbb{Z}_q \\
\\
A \equiv g^a \pmod{p} \\
B \equiv g^b \pmod{p} \\
\\
S \equiv {(g^{a})}^{b}={(g^{b})}^{a}=g^{ab} \pmod{p}
\end{eqnarray}$
Copy to clipboard