91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

遠程桌面dos命令密碼加密和解密,遠程桌面RDP文件登錄密碼加密和解密

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
using?System.Windows.Forms;
using?System.Security.Cryptography;

namespace?RDPEncrypter
{
????public?partial?class?Form1?:?Form
????{
????????static?byte[]?s_aditionalEntropy?=?null;?????????//附加的加密因子,自定義
????????public?Form1()
????????{
????????????InitializeComponent();
????????}

???????

????????#region?加密方法
????????private??byte[]?Protect(byte[]?data)
????????{
????????????try
????????????{
????????????????//?Encrypt?the?data?using?DataProtectionScope.CurrentUser.?The?result?can?be?decrypted
????????????????//??only?by?the?same?current?user.
????????????????return?ProtectedData.Protect(data?s_aditionalEntropy?DataProtectionScope.LocalMachine);
????????????}
????????????catch?(CryptographicException?e)
????????????{
????????????????MessageBox.Show(“Data?was?not?encrypted.An?error?occurred.?“?+?e.ToString()?“Error“);
????????????????return?null;
????????????}
????????}
????????#endregion

????????#region?解密方法
????????private?byte[]?Unprotect(byte[]?data)
????????{
????????????try
????????????{
????????????????//Decrypt?the?data?using?DataProtectionScope.CurrentUser.
????????????????return?ProtectedData.Unprotect(data?s_aditionalEntropy?DataProtectionScope.LocalMachine);
????????????}
????????????catch?(CryptographicException?e)
????????????{
????????????????MessageBox.Show(“Data?was?not?decrypted.An?error?occurred.?“?+?e.ToString()?“Error“);
????????????????return?null;
????????????}
????????}
????????#endregion

????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????byte[]?org_text?=?null;
????????????byte[]?new_text?=?null;
????????????string?org_string?=?““?res?=?string.Empty;

????????????org_string?=?tbx_org.Text;
????????????if?(!string.IsNullOrEmpty(org_string))
????????????{
????????????????org_text?=?Encoding.Unicode.GetBytes(org_string);
????????????????new_text?=?Protect(org_text);

????????????????foreach?(byte?b?in?new_text)
????????????????{
????????????????????res?+=?b.ToString(“X2“);??????????????????????????//轉換16進制的一定要用2位
????????????????}
????????????????tbx_new.Text?=?res;
????????????}


????????}
????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????byte[]?org_text?=?null;
????????????byte[]?new_text?=?null;
????????????List?temp_list?=?new?List();
????????????string?new_string?=?““?res?=?““?temp_string?=?““?strTemp?=?““;
????????????Int32?count?=?0;


????????????new_string?=?tbx_new.Text;
????????????if?(!string.IsNullOrEmpty(new_string))
????????????{
????????????????new_text?=?Encoding.Unicode.GetBytes(new_string);
????????????????byte[]?b?=?new?byte[new_string.Length?/?2];
????????????????for?(int?i?=?0;?i?????????????????{
????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

????..A..H.?????50176??2018-03-10?09:52??RDPEncrypter\RDPEncrypter\.vs\RDPEncrypter\v14\.suo

?????文件????????189??2018-03-09?13:58??RDPEncrypter\RDPEncrypter\RDPEncrypter\App.config

?????文件??????28830??2018-03-09?14:08??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\app.publish\Application?Files\RDPEncrypter_1_0_0_0\Image\keyring-icon.png.deploy

?????文件????????189??2018-03-09?13:58??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\app.publish\Application?Files\RDPEncrypter_1_0_0_0\RDPEncrypter.exe.config.deploy

?????文件??????16856??2018-03-10?09:49??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\app.publish\Application?Files\RDPEncrypter_1_0_0_0\RDPEncrypter.exe.deploy

?????文件???????7530??2018-03-10?09:49??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\app.publish\Application?Files\RDPEncrypter_1_0_0_0\RDPEncrypter.exe.manifest

?????文件???????5645??2018-03-10?09:49??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\app.publish\RDPEncrypter.application

?????文件??????16856??2018-03-10?09:49??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\app.publish\RDPEncrypter.exe

?????文件?????828888??2018-03-10?09:49??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\app.publish\setup.exe

?????文件???????1846??2018-03-10?09:49??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\RDPEncrypter.application

?????文件??????15872??2018-03-10?09:49??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\RDPEncrypter.exe

?????文件????????189??2018-03-09?13:58??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\RDPEncrypter.exe.config

?????文件???????3848??2018-03-10?09:49??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\RDPEncrypter.exe.manifest

?????文件??????22016??2018-03-10?09:49??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\RDPEncrypter.pdb

?????文件??????22696??2018-03-10?09:44??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\RDPEncrypter.vshost.exe

?????文件????????189??2018-03-09?13:58??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\RDPEncrypter.vshost.exe.config

?????文件????????490??2017-03-19?05:00??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Debug\RDPEncrypter.vshost.exe.manifest

?????文件??????21464??2018-03-10?09:52??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\app.publish\RDPEncrypter.exe

?????文件???????1846??2018-03-10?09:52??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\RDPEncrypter.application

?????文件??????20480??2018-03-10?09:52??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\RDPEncrypter.exe

?????文件????????189??2018-03-09?13:58??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\RDPEncrypter.exe.config

?????文件???????4336??2018-03-10?09:52??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\RDPEncrypter.exe.manifest

?????文件??????22016??2018-03-10?09:52??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\RDPEncrypter.pdb

?????文件???????1846??2018-03-10?09:50??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\RDPEncrypter.vshost.application

?????文件??????22696??2018-03-10?09:51??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\RDPEncrypter.vshost.exe

?????文件????????189??2018-03-09?13:58??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\RDPEncrypter.vshost.exe.config

?????文件???????3848??2018-03-10?09:50??RDPEncrypter\RDPEncrypter\RDPEncrypter\bin\Release\RDPEncrypter.vshost.exe.manifest

?????文件???????3502??2018-03-10?09:47??RDPEncrypter\RDPEncrypter\RDPEncrypter\Form1.cs

?????文件???????5425??2018-03-09?14:59??RDPEncrypter\RDPEncrypter\RDPEncrypter\Form1.Designer.cs

?????文件??????13387??2018-03-09?14:59??RDPEncrypter\RDPEncrypter\RDPEncrypter\Form1.resx

............此處省略70個文件信息

評論

共有 條評論