I got this working by changing the java end to use RSA/NONE/
PKCS1Padding.
This works with the RSAES_PKCS1v15_Decryptor

On Aug 14, 9:36 am, Paul <[email protected]> wrote:
> I need to decrypt a string encrypted by an external company in java as
> follows using our public key -
>
> Cipher cipher = Cipher.getInstance( "RSA/ECB/PKCS1Padding", "BC");
>
> How would I decrypt the resulting message using our private key in
> Crypto++?
>
> I have tried using RSAES_PKCS1v15_Decryptor  which doesn't work,
> presumably because I am missing the ECB part?
>
> If the RSA/ECB/PKCS1 combination cannot be dealt with, is there an
> alternative java combination I can suggest (RSA/ECB/NoPadding?) and
> what would the equivalent Crypto++ Decryptor look like?.
--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---

Reply via email to