Re:Show HN: Diffie-Hellman exchange for the layman
by libeclipse on Thursday April 22, 2021 @10:26AM
(#26903108)
Diffie Hellman Key Exchange is performed over a cyclic group. That's just a large set of elements that wrap back around to each other. So for example the integers mod 7 is {0, 1, 2, 3, 4, 5, 6}. A generator for this group is any element that you can continuously add to generate the whole group, for example: 1.
In the case of DH, g is some such element.