Generate an RSA key pair