Image for Diffie-Hellman group

Diffie-Hellman group

A Diffie-Hellman group is a set of parameters used in a cryptographic method to securely share a common secret over an insecure channel. It involves two parties generating private numbers, then using the group’s mathematics to create matching public values. When exchanged, these public values allow both parties to independently compute the same secret key without revealing their private numbers. This shared key can then be used for encrypted communication. The group’s parameters ensure the process is secure and resistant to eavesdroppers, forming the foundation of many secure internet protocols.