Diffie–Hellman Shared Secret
Both parties obtain the same shared group elements by exchanging public modular powers.
symbols, variables and units
p: prime number; g: designated subgroup generator; a, b: privacy index.
applicable conditions and boundaries
requires security group parameters, authentication and key derivation; without authentication, it may be subject to man-in-the-middle attacks.
formula source code
The following is a copyable LaTeX expression.
K=(g^a)^b=(g^b)^a\pmod p
Reference and Extended Learning
NIST · Cryptographic Standards and Guidelines ↗is organized according to model definition and assumptions. Please check actual conditions and original literature before engineering, research and clinical use.
Diffie Hellmankey exchange