wechat icon indicating copy to clipboard operation
wechat copied to clipboard

fix:aesencrypt pkcs7pad bug

Open zs5460 opened this issue 6 months ago • 0 comments

使用本库做企业微信应用被动消息回复,当消息体长度为密钥长度整倍数时,原代码未做PKCS7Pad,腾讯服务器会解密失败,亦无消息返回,去除原代码AesEbcrypt函数中的长度判断,无论是否整倍数都做pad,就正常了

zs5460 avatar Aug 12 '24 01:08 zs5460