Return a random 'safe' prime, of the form p=2*q+1 with q prime
a random number generator
is how long the resulting prime should be
prime randomly chosen from safe primes of length bits
See Implementation
Return a random 'safe' prime, of the form p=2*q+1 with q prime