复制源码,生成甲方本地密钥出错!

maisong 非对称密码的编程使用 04月06日 19:23提问

  • 0 回答
  • 48 浏览

各位帮忙看看什么原因!

Exception in thread "main" java.security.NoSuchAlgorithmException: Unsupported secret key algorithm: DES

at com.sun.crypto.provider.DHKeyAgreement.engineGenerateSecret(DHKeyAgreement.java:387)

at javax.crypto.KeyAgreement.generateSecret(KeyAgreement.java:648)

at DHUtil.getSecretKey(DHUtil.java:93)

at Main.main(Main.java:99)