Re: Most choices of h will lead to a usable g; commonly h = 2 is used.

Posted by

Jorjia 17 Nov 2018 21:57

There needn't h.

Main problem is that , find x, where y = g^x mod p. It's common problem, named discrete logarithm.

And there are some 64 bit modulo multiplications.