mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-02-18 22:26:20 +08:00
feat(core): 抽离公共的算法工具类
This commit is contained in:
@@ -56,10 +56,10 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
||||
{
|
||||
try
|
||||
{
|
||||
plainJson = Utilities.AesUtil.DecryptWithGCM(
|
||||
aesKey: client.MerchantV3Secret,
|
||||
nonce: resource.Nonce,
|
||||
associatedData: resource.AssociatedData,
|
||||
plainJson = Utilities.AESUtility.DecryptWithGCM(
|
||||
key: client.MerchantV3Secret,
|
||||
iv: resource.Nonce,
|
||||
aad: resource.AssociatedData,
|
||||
cipherText: resource.CipherText
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user