Which Diffie–Hellman values may be shared publicly before key generation?
Both parties' private exponents a and b
a
b
The prime modulus p and generator g
p
g
One private exponent and the final shared secret
The final shared secret S
S