[Botan-devel] Exponent in RSA

Jack Lloyd lloyd at randombit.net
Mon Nov 10 09:45:19 EST 2008


On Mon, Nov 10, 2008 at 09:32:55AM +0100, Rickard Bondesson wrote:
> Hi
> 
> You can generate a RSA key with a given bit length, but is it possible
> to configure which exponent to use?

Hi,

Yes, the public exponent is (depending on if you are using 1.6 or 1.7)
the second or third argument to RSA_PrivateKey, after the bitlength;
it defaults to 65537.

-Jack



More information about the botan-devel mailing list