AB
aiBytes
125 tools in one library
Live workspace

Diffie-Hellman Key Exchange

Visualize shared-secret generation across Diffie-Hellman participants.

Key Exchange & Signatures
Input

Diffie-Hellman Key Exchange

Generate DH parameters, create participant key pairs, compute shared secrets, and derive exchange keys.

  • Generate parameters once, then reuse the same parameter PEM for both participants.
  • Each side creates its own key pair from the same parameters.
  • Derived keys use HKDF on the shared secret with a configurable output length.
Status
Waiting for input
Output

Diffie-Hellman result

Review the result and copy the output you want to keep.

Output preview

Parameters, key pairs, shared secrets, and derived keys will appear here.