【发布时间】:2010-06-21 01:35:10
【问题描述】:
我正在使用 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。我可以使用任何解决方法或第三方产品来解决此问题吗?
提前致谢。
【问题讨论】:
标签: java encryption cryptography rsa java1.4