资源简介
本实例经过多次测试,完全严重没有问题。采用最常用的加密方式,AEC加密,有加密以及解密文件,简单修改即可使用,其加密主要是通过密钥加密方式,修改不同的密钥实现文件的加密,解密,密钥失败会有提醒
注意英文备注 有一个值不能修改!!
代码片段和文件信息
using AES_EnDecryptor.basement;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace AES_EnDecryptor
{
class Program
{
//This Value Cannot Be Modified !!!!
static int _BlockSize = 16;
static int _SkipSize { get; set; }
static void Main(string[] args)
{
//Encrypt 2% of The Source File
//If you wanna use different skip size to different files you can append a special sign to each encrypted filename .
//Thus you can judge the skipsize length by analysising the special sign
_SkipSize = _BlockSize * 49;
Console_Init();
}
static void Console_Init()
{
Console.Clear();
Console.WriteLine(“1=======Encrypt Files“);
Console.WriteLine(“2=======Decrypt Files“);
var keypress = Console.ReadLine();
while (keypress != “
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\
文件 1012 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor.sln
目录 0 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\
文件 2597 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\AES EnDecryptor.csproj
目录 0 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\ba
文件 18372 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\ba
文件 2976 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\ba
文件 9881 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\Program.cs
目录 0 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\Properties\
文件 1356 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\Properties\AssemblyInfo.cs
目录 0 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\bin\
目录 0 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\bin\Debug\
文件 16896 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\bin\Debug\AES EnDecryptor.exe
文件 36352 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\bin\Debug\AES EnDecryptor.pdb
文件 22688 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\bin\Debug\AES EnDecryptor.vshost.exe
目录 0 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\obj\
目录 0 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\obj\Debug\
文件 448 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\obj\Debug\AES EnDecryptor.csproj.FileListAbsolute.txt
文件 1754 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\obj\Debug\AES EnDecryptor.csprojResolveAssemblyReference.cache
文件 16896 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\obj\Debug\AES EnDecryptor.exe
文件 36352 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\obj\Debug\AES EnDecryptor.pdb
文件 6471 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\AES EnDecryptor\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 198 2018-01-02 02:18 AES-File-EnDecryptor-Writed-by-CSharp-master\README.md
- 上一篇:查看当前netfamework版本
- 下一篇:通过POI预览文件(上传空间demo)
相关资源
- C#联通网络宽带测试 拨号
- 极速北京对时(VB.NET代码)
- 去雾算法halcon代码实现
- 用鼠标拖动无边框窗体功能的实现代
- AD 操作 Helper类代码
- 模拟器命令C#封装
- C# WCF简单测试
- 测试链接并显示查询数据
- 计价测试数据
- C# orm 入门级代码
- QQMsg群发源代码,好东西啊,运营用最
- C# 买酒换酒 解题思路代码(酒瓶换啤
- 抓取新浪微博好友动态(可参考读取
- wcf restful简单实现代码
- C# 高斯正反算,邻带换算代码
- ini_Read/Write 类库代码
- c#代码
- winform收银机客显器LED测试软件demo
- 游戏插件代码(AdminTools.cs)
- WinForm实现win7 Aero磨砂效果
- Microsoft_IE 完美仿IE7 NET代码
- 11912878C_sharp_AE
- qqWPF 一款应用微软WPF技术编写的仿q
- TestClose 用VisualStudio2005(C#)实现的进
- SceneControl 一个简单的基于AE的三维小
- MouStudio_ContourTrace_Fill 针对散乱点数据
- AE-DEM C#+AE编译
- AE-OpenTalbe C#和ArcEngine 编译的小程序
- AE-interpolation C#+AE编译
-
time
table-csharp c#/CSharp 遗传算法高校
评论
共有 条评论