请帮助我,我正在使用密码加密和解密时间我收到以下错误。: - ' iaik.pkcs.pkcs1.b.b(UnknownSource); iaik.pkcs.pkcs1.RSACipher.a(未知来源); iaik.pkcs.pkcs1.RSACipher.engineDoFinal(UnknownSource); javax.crypto.Cipher.doFinal(DashoA12275);
本使用解密的代码:
cipher.init(Cipher.DECRYPT_MODE,privKey);
byte[] decodedData = new BASE64Decoder().decodeBuffer(enPwd);
cipher.init(Cipher.DECRYPT_MODE,privKey);
cipherData = cipher.doFinal(new BASE64Decoder().decodeBuffer(enPwd));
此处显示此行的错误:
cipher.doFinal(new BASE64Decoder().decodeBuffer(enPwd));
感谢Advance,
此致 杜尔加。