收藏
回答

微信支付V3版支付回调解密,官方.net 代码报错:mac check in GCM failed?

        var decryptStr = AesGcmDecrypt("transaction", "bpY8g3KBg8V9", "bVvEyoVvKWdHv4t24lzXNec/T7msGIhjEQRcJopFGKQE1WqpfIjQJT+AY4tZeAgpWx0EHYWrVkX4MLIglEoT3l6ndhI8FV4bjXtGLOnYRexabgFTJoWqcoWFiYEDbtmG4YTx5KnghmmhzG+PvjhsK7aZxdSUV/UD1mV6vmx8vwIKwVd5F9HEL1VjO77oLUMMFcM83l99LhUOXwEapXFMznA3m4MwVfq1eyt5fULLcElohglPMAxa9kuxOduuYcoD/3KXVJ+Y/tYaD8PF+7dYu9IheyfLB2IAEHFhThenHU84MoxxY/sYBtYKjxHAP/m6Funr+UFpFOgVeu/dj7/3Vy9rDlKCH8ORmqz5BTSmiCuW2StwZp0AqJoSF20zXa8R66A3GeplXOyjsCluibDrD/NbGxUI1uxYwObG3xEkGh90/sURwYvyUSLVJidSY9EacPQTUGB8bNI1TLINYzjfgfBqmIWEwRTJ3Qqs0ZzqTWDm41rKxFARxLxnRsfsf12fIKhRpPYeHyqYrIrHosB2PrBikorgJxPZBQjX3YNWZSacazjO5vPQZLanS5AUE1qB6XT98gpbI6iMHrXPwnQ=", _APIV3Key);

        Console.WriteLine(decryptStr);

        Console.ReadKey(); 

最后一次编辑于  2023-05-03
回答关注问题邀请回答
收藏

1 个回答

  • 李盼
    李盼
    2023-05-03

        gcmBlockCipher.DoFinal(plaintext, length); 这句代码报错

    2023-05-03
    有用
    回复 1
    • 暴走人生
      暴走人生
      2023-06-28
      解决了吗?
      2023-06-28
      回复
登录 后发表内容