我正在使用 Java 1.4.2_10,并且正在尝试使用 RSA 加密:
我得到以下代码的 NoSuchAlgorithmException:
cipher = Cipher.getInstance("RSA");
这是错误:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA
at javax.crypto.Cipher.getInstance(DashoA6275)
这在 1.5 及更高版本中运行良好,但是我需要使用 1.4。是否有任何解决方法或第三方产品可用于解决此问题?
提前致谢。