According to RFC 3526 & RFC 2412, the
prime and the
generator are defined, but there is no recommended length for the parameters of random number $x$. What is the recommended length of random number $x$?
In my case, I set the length of $x$ at 160 bits with a 1024- & 2048-bit
Is it safe?