InvalidKeyException: Illegal key size?

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:15 561 0 全屏看文

AI助手支持GPT4.0

InvalidKeyException: Illegal key size?

平台证书获取到后解密一直报这个错是什么原因撒,是证书解密的密钥有问题还是 ,麻烦解答下

After the platform certificate is obtained, decryption has been reported. What is the reason for this error? Is there a problem with the certificate decryption key or, please answer it

回答:

支付技术助手8:

你好,这个是由于jdk限制策略,导致只能128位key进行加解密,而256位加解密则抛出异常。

解决方案:


-EOF-

AI助手支持GPT4.0