資源簡介
對二進(jìn)制文件的加密解密
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.IO;
using?System.Linq;
using?System.Security.Cryptography;
using?System.Text;
namespace?MyCryptoHelp
{
????///?
????///?異常處理類
????///?
????public?class?CryptoHelpException?:?ApplicationException
????{
????????public?CryptoHelpException(string?msg)?:?base(msg)?{?}
????}
????///?
????///?CryptHelp
????///?
????public?class?CryptoHelp
????{
????????private?const?ulong?FC_TAG?=?0xFC010203040506CF;
????????private?const?int?BUFFER_SIZE?=?128?*?1024;
????????///?
????????///?檢驗(yàn)兩個(gè)Byte數(shù)組是否相同
????????///?
????????///?Byte數(shù)組
????????///?Byte數(shù)組
????????///?true-相等
????????private?s
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????11264??2016-12-24?15:00??二進(jìn)制讀寫\bin\Debug\二進(jìn)制讀寫.exe
?????文件??????26112??2016-12-24?15:00??二進(jìn)制讀寫\bin\Debug\二進(jìn)制讀寫.pdb
?????文件??????22688??2017-01-04?14:53??二進(jìn)制讀寫\bin\Debug\二進(jìn)制讀寫.vshost.exe
?????文件????????490??2015-10-22?09:54??二進(jìn)制讀寫\bin\Debug\二進(jìn)制讀寫.vshost.exe.manifest
?????文件???????8181??2016-12-24?17:12??二進(jìn)制讀寫\Class1.cs
?????文件????????976??2016-12-24?15:00??二進(jìn)制讀寫\Form1.cs
?????文件???????2034??2016-12-24?14:52??二進(jìn)制讀寫\Form1.Designer.cs
?????文件???????5817??2016-12-24?14:52??二進(jìn)制讀寫\Form1.resx
?????文件???????1452??2017-01-04?14:53??二進(jìn)制讀寫\obj\Debug\DesignTimeResolveAssemblyReferences.cache
?????文件???????6875??2016-12-24?14:52??二進(jìn)制讀寫\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件????????730??2017-01-04?14:53??二進(jìn)制讀寫\obj\Debug\二進(jìn)制讀寫.csproj.FileListAbsolute.txt
?????文件???????1012??2016-12-24?14:58??二進(jìn)制讀寫\obj\Debug\二進(jìn)制讀寫.csproj.GenerateResource.Cache
?????文件???????2210??2016-12-24?14:58??二進(jìn)制讀寫\obj\Debug\二進(jìn)制讀寫.csprojResolveAssemblyReference.cache
?????文件??????11264??2016-12-24?15:00??二進(jìn)制讀寫\obj\Debug\二進(jìn)制讀寫.exe
?????文件????????180??2016-12-24?14:58??二進(jìn)制讀寫\obj\Debug\二進(jìn)制讀寫.Form1.resources
?????文件??????26112??2016-12-24?15:00??二進(jìn)制讀寫\obj\Debug\二進(jìn)制讀寫.pdb
?????文件????????180??2016-12-24?14:58??二進(jìn)制讀寫\obj\Debug\二進(jìn)制讀寫.Properties.Resources.resources
?????文件????????496??2016-12-24?14:50??二進(jìn)制讀寫\Program.cs
?????文件???????1356??2016-12-24?14:50??二進(jìn)制讀寫\Properties\AssemblyInfo.cs
?????文件???????2843??2016-12-24?14:50??二進(jìn)制讀寫\Properties\Resources.Designer.cs
?????文件???????5612??2016-12-24?14:50??二進(jìn)制讀寫\Properties\Resources.resx
?????文件???????1102??2016-12-24?14:50??二進(jìn)制讀寫\Properties\Settings.Designer.cs
?????文件????????249??2016-12-24?14:50??二進(jìn)制讀寫\Properties\Settings.settings
?????文件???????3781??2016-12-24?14:58??二進(jìn)制讀寫\二進(jìn)制讀寫.csproj
?????目錄??????????0??2016-12-24?14:50??二進(jìn)制讀寫\obj\Debug\TempPE
?????目錄??????????0??2016-12-24?14:58??二進(jìn)制讀寫\bin\Debug
?????目錄??????????0??2017-01-04?14:53??二進(jìn)制讀寫\obj\Debug
?????目錄??????????0??2016-12-24?14:50??二進(jìn)制讀寫\bin
?????目錄??????????0??2016-12-24?14:50??二進(jìn)制讀寫\obj
?????目錄??????????0??2016-12-24?14:50??二進(jìn)制讀寫\Properties
............此處省略4個(gè)文件信息
評論
共有 條評論