Generate a new private key
a random number generator
parameters to used for this key
the private key; if zero, a new random key is generated
See Implementation
Generate a new private key