[Solved] Java RSA private key generation when public key is known
Sort answer is “no”. Long answer is to use sunrsasign Provider, which implements RSAKeyPairGenerator such that the public exponent is 65537: *”/** * RSA keypair generation. Standard algorithm, minimum key length 512 bit. * We generate two random primes until we find two where phi is relative * prime to the public exponent. Default exponent … Read more