chore: upgrade dependencies

This commit is contained in:
Fu Diwei
2023-03-09 18:15:49 +08:00
parent 1e3ed8e9fb
commit 68c1a7ba93
16 changed files with 23 additions and 23 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Text;
using Xunit;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests
{
public class TestCase_ToolsAESUtilityTests
{
[Fact(DisplayName = "测试用例AES-ECB 解密")]
public void TestAESGCMDecrypt()
{
string key = "01234567890abcdefedcba9876543210";
string cipherText = "l/aL5GyVfl/tw3Lww6GvCQ==";
string actualPlain = Utilities.AESUtility.DecryptWithECB(encodingKey: Convert.ToBase64String(Encoding.UTF8.GetBytes(key)), encodingCipherText: cipherText);
string expectedPlain = "SKIT is great!";
Assert.Equal(expectedPlain, actualPlain);
}
}
}