http://www.openssl.org/docs/crypto/rsa.html#
Maybe you could try openSSL.
This is a FAQ
The cryptopp guys would tell you this is not possible and does not
make sense.
On Oct 8, 11:41 pm, Michael <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to code an client for an existing server, the server
> receives RSA public key encrypted requests, then replies with a
> message encrypted using the private key,
> so the client will need to decrypt using the public key.
>
> Ideally, I'd like to do something like:
>
> Integer pubKey(" <INTEGER MODULUS> " );
> Integer e(" <INTEGER EXPONENT> " );
>
> CryptoPP::AutoSeededRandomPool rng;
> RSAES_PKCS1v15_Decryptor decryptor;
>
> decryptor.AccessKey().Initialize(pubKey, e);
> decryptor.Decrypt (rng, CipherText, CipherTextLen, (byte *)plainText);
>
> I know public key decryption isn't normal practice, but is there any
> way of doing this using Crypto++ ?
>
> Regards,
> Michael.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---