encryption - Cryptography - RSA Algorithm in Java 1.4 -


I am using Java 1.4.2_10 and am trying to use RSA encryption:

I'm getting NoSuchAlgorithmException for the following code:

  cipher = cipher .get instance ("RSA");  

This error is:

  java.security.NoSuchAlgorithmException: Can not support a provider on Javax.crypto.Cipher.getInstance (DashoA6275 )  

It works fine in 1.5 and above, though I have to use 1.4. Is there any remedy or third party product that I can use to fix it?

Thanks in advance.

You can install cryptography provider just take your jar and then cipher.get Call Instance ("RSA", "BC")


Comments