Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

key agreement

Two machines invent a shared secret while everyone listens, without listeners learning it.

Key agreement (ECDH) lets two parties derive a shared secret over an open channel; on its own it doesn't authenticate who the other party is.

Examples

  • In TLS, the sensor and the broker each send a key share and both compute the same secret with ECDHE, though anyone can read the shares.

  • X25519 is a common key-agreement choice; a listener who records both public halves still can't compute the secret.

Read the full section →