mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-18 17:48:12 +08:00
test(wxapi): 增加 AES-CBC 解密的单元测试用例
This commit is contained in:
@@ -16,9 +16,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Ads.UnitTests
|
||||
string rawData = "spidbff89d5138160943040012345678901234567890uFolxxiZbrZ/PRbyen5uK5D1kgIB2yHyDsfDGxxgeG";
|
||||
|
||||
string actualHash = Security.MD5Utility.Hash(rawData);
|
||||
string expectdHash = "32c03e8fcdb08e653e42805e302f70ed";
|
||||
string expectedHash = "32c03e8fcdb08e653e42805e302f70ed";
|
||||
|
||||
Assert.Equal(expectdHash, actualHash, ignoreCase: true);
|
||||
Assert.Equal(expectedHash, actualHash, ignoreCase: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user