调用wx.qx.login获取session_key ;再通过wx.qy.checkSession验证是未过期状态,通过后台解密步数数据一直报错如下javax.crypto.BadPaddingException: pad block corruptedat org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher$BufferedGenericBlockCipher.doFinal(Unknown Source)at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(Unknown Source)at javax.crypto.Cipher.doFinal(Cipher.java:2121)at com.dehui.wechatsteps.utils.wxUtils.decryptNew(wxUtils.java:128)at com.dehui.wechatsteps.utils.wxUtils.main(wxUtils.java:161)
之前测试时通过wx.login 获取openid和session_key 是可以正常解密的。请帮忙看看 ,谢谢