Is there a way to generate a 2048 RSA key pair using RSACryptoServiceProvider with a user defined metric?
new RSACryptoServiceProvider(2048);
For example, I want to set the exponent to 65535 , but the hard-coded value seems to be 65537 .
I looked around, but could not find any information.
I am trying to create a new key pair and not import an existing key using RSACryptoServiceProvider .
I know that by importing an existing key, I can determine the module, exponent and other factors.
If this is not possible, what are my alternatives?
source share