security.InvalidKeyException: Illegal key size?
发布于 7 年前 作者 mingwang 13665 次浏览 来自 官方Issues

Caused by: java.security.InvalidKeyException: Illegal key size

at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039) ~[?:1.8.0_122]

at javax.crypto.Cipher.implInit(Cipher.java:805) ~[?:1.8.0_122]

at javax.crypto.Cipher.chooseProvider(Cipher.java:864) ~[?:1.8.0_122]

at javax.crypto.Cipher.init(Cipher.java:1396) ~[?:1.8.0_122]

at javax.crypto.Cipher.init(Cipher.java:1327) ~[?:1.8.0_122]

at com.sharing.wx.AesUtil.decryptToString(AesUtil.java:35) ~[classes/:?]

… 63 more

1 回复

请具体描述问题出现的流程,并提供方便定位问题的信息。

回到顶部