???????????????????д??
???????????? ???????[ 2013/10/11 14:25:00 ] ????????
???????????????????????????ad-hoc test????????????????????????????????????У????????????NUnit??TestRunner?????????????????????????д???????????????????????????????????????????
<TestFixture()>_
PublicClass UnitTests
Private _TargetString As String
Private _TargetData As Encryption.Data
<TestFixtureSetUp()> _
Public Sub Setup()
_TargetString = "an enigma wrapped ina mystery slathered in secret sauce"
_TargetData = NewEncryption.Data(_TargetString)
End Sub
<Test()??Category("Symmetric")> _
Public Sub MyTest()
Dim s As New Encryption.Symmetric(Encryption.Symmetric.Providers.DES)
Dim encryptedData As Encryption.Data
Dim decryptedData As Encryption.Data
encryptedData = s.Encrypt(_TargetData)
decryptedData = s.Decrypt(encryptedData)
Assert.AreEqual(_TargetString?? decryptedData.ToString)
End Sub
EndClass
??????????????????????????????????????????????????????????ι??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Щ????????????????????????????????з?????δ???????????????????????????????????????????????……
???????????????????????????????????????????????????????????????????????????????????????????д?μ?????????????????????ò??????????
?????????????????????
?????????к???????
?????????????????????
???????????????????????Щ??
???????ж??????????????
????????????????Щ???????
???????????????????????????????????????????????????????????????д???????????????????????????Щ???????????????????????????????????????????????????????????????????????????????????????
???????????????????????Щ????????????磬?????????????????????????????????——??????????????????У?????????????δ????????????????Unicode Andy???????????
??????????????棬????????????????????????????????????????????????????????ζ?????????д???????????????????????????????????????????
??????????????????????????????——??????????????——????????3???“????????????”?????????????д?????????????????????????????????????????????????????д???????????????????????????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11