The advertisement says 256-bit, the other product says 128-bit, and the conclusion seems obvious until you notice the numbers describe different things. A symmetric cipher key, a certificate public key and a key-exchange parameter are not measured on one scale. None of them covers whether the client verified the server at all. The number is real information, and it is much narrower than the marketing around it implies.

Ask which key is being counted and what it protects before comparing anything.

Three Keys With Three Jobs

The data cipher encrypts the tunnel payload, and its key is derived fresh for the session. The certificate public key proves the identity of an endpoint during authentication. The key-exchange step, usually an ephemeral Diffie-Hellman variant, establishes a shared secret that neither side can reconstruct afterwards. Each one has its own strength assumptions and its own size conventions.

That is why a 256 next to a 2048 next to a 32 cannot be ranked by magnitude; they are answers to different questions.

Even within a single role, the number only says something relative to the algorithm family in use.

Where the Number Helps, and Where It Stops

Within one algorithm, a larger key raises the cost of a brute-force search, and published guidance sets minimums for certificate keys as computing power changes. That is a legitimate comparison and a narrow one: AES-128 and AES-256 both resist direct attack by wide margins, so the difference is rarely the deciding factor in practice.

Outside that comparison, the number predicts nothing about configuration mistakes, certificate validation or protocol version.

Read the Whole Negotiated Suite

What a connection actually uses is a suite: a cipher mode, an integrity or authenticated-encryption construction, a key-exchange group and an authentication method. A modern AEAD mode with a proper handshake is a different proposition from an older mode paired with a separate MAC, even when the headline key size is identical.

openvpn --show-ciphers | head -20
openvpn --show-tls | head -20
openssl x509 -in server.crt -noout -text | grep -E 'Public-Key|Signature Algorithm'
wg show

Read the negotiated result rather than the configured maximum. A client offering a strong suite still connects weakly if the server selects the weaker option and the profile permits it. If performance is the concern, measure it on the device and path in question, because key size is a poor predictor of throughput once hardware acceleration and packet size enter the picture.

The Parts a Number Never Measures

Software maintenance is the first omission. A tunnel built on a library that stopped receiving fixes is weaker than its key size suggests, and no configuration value repairs that. Operator behaviour is the second: connection records, account data and support handling sit outside the cryptography entirely. A service that retains more than you expected is not made safer by a longer key.

Peer verification is the third and the most consequential. A client that accepts any certificate has a strong cipher wrapped around an unauthenticated peer, which is worse than a modest cipher with correct validation. Check those three before the number, and the number takes its proper place.

Sɛbɛn minnu bɛ tali kɛ