java - 微信公众第三方平台加解密出现InvalidKeyException:illegal Key Size
PHPz
PHPz 2017-04-18 09:55:40
0
2
507

本地按照这个官方demo上的方案解决了,如上图。但是生产线上是不能够替换这两个文件的。
链接描述

在解密ticket时出现这个问题。求解决方案

PHPz
PHPz

学习是最好的投资!

reply all(2)
大家讲道理

It seems that the system uses the encryption algorithm controlled by the United States. You have two solutions:

  1. Install the official solution and replace the JRE jar

  2. Find out what encryption algorithm the official uses, and then look for non-export controlled solutions. One of the open source bouncy castles seems to support it

大家讲道理

It won’t work without replacement. This is an extended encryption package. The default is only 128-bit encryption. Unable to meet the requirements of WeChat interface

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template