hi, I am using RSA modulus and encrypting a data with modulus and trying to decrypt it with private key of RSA ..i m using RSA/ECB/PKCS1Padding at the decrypt end
Thnx in advance
hi, I am using RSA modulus and encrypting a data with modulus and trying to decrypt it with private key of RSA ..i m using RSA/ECB/PKCS1Padding at the decrypt end
Thnx in advance
You can probably use the Bouncy Castle lightweight cryptography API to do your decryption.
Note that RSA cryptography may be illegal to import into some countries.
hi, My question is if i am using RSA as an argument to Cipher.getInstance method while encryption and while i am decrypting it with RSA with the RSA/ECB/PKCS1Padding as an argument i am getting bad padding exception . If i am using RSA only in both the case it is woring fine but getting some random output not the original string ... which padding should i use ? Thnx in advance