-1
votes
0answers
109 views

a Diffie Hellman question [on hold]

Alice chooses $p$ and $g$ (the equation $g^x=h\mod p$). Which $p$ and $g$ do you think is better and why? $p=197$ and $g=14$ $p=97$ and $g=2$ $p=179$ and $g=1$ none of the aboveā€¦
1
vote
2answers
1k views

How to find generator $g$ in a cyclic group?

As generator $g$ is use in DH how to find combination of prime $p$ and $g$? eg: if we choose $p=23$ its generator is $7$ (given in book) how to find it?