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

  • 大小: 40.56MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-06-21
  • 語(yǔ)言: C#
  • 標(biāo)簽: 框架??業(yè)務(wù)??winfor??

資源簡(jiǎn)介

一種開(kāi)源的業(yè)務(wù)系統(tǒng)Winform框架,帶源碼,帶教程PPT文件

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
using?System.Security.Cryptography;

namespace?HYAppframe
{
????class?DES
????{

????????///?
????????///?進(jìn)行DES加密。
????????///?

????????///?要加密的字符串。
????????///?密鑰,且必須為8位。
????????///?以base64格式返回的加密字符串。
????????public?static?string?Encrypt(string?pToEncrypt?string?sKey)
????????{
????????????if?(““.Equals(pToEncrypt))
????????????????return?““;
????????????using?(DESCryptoServiceProvider?des?=?new?DESCryptoServiceProvider())
????????????{
????????????????byte[]?inputByteArray?=?Encoding.UTF8.GetBytes(pToEncrypt);
????????????????des.Key?=?ASCIIEncoding.ASCII.GetBytes(sKey);
????????????????des.IV?=?ASCIIEncoding.ASCII.GetBytes(sKey);
????????????????System.IO.MemoryStream?ms?=?new?System.IO.MemoryStream();
????????????????using?(CryptoStream?cs?=?new?CryptoStream(ms?des.CreateEncryptor()?CryptoStreamMode.Write))
????????????????{
????????????????????cs.Write(inputByteArray?0?inputByteArray.Length);
????????????????????cs.FlushFinalBlock();
????????????????????cs.Close();
????????????????}
????????????????string?str?=?Convert.Tobase64String(ms.ToArray());
????????????????ms.Close();
????????????????return?str;
????????????}
????????}

????????///?
????????///?進(jìn)行DES解密。
????????///?

????????///?要解密的以base64
????????///?密鑰,且必須為8位。
????????///?已解密的字符串。
????????public?static?string?Decrypt(string?pToDecrypt?string?sKey)
????????{
????????????if?(““.Equals(pToDecrypt))
????????????????return?““;
????????????byte[]?inputByteArray?=?Convert.Frombase64String(pToDecrypt);
????????????using?(DESCryptoServiceProvider?des?=?new?DESCryptoServiceProvider())
????????????{
????????????????des.Key?=?ASCIIEncoding.ASCII.GetBytes(sKey);
????????????????des.IV?=?ASCIIEncoding.ASCII.GetBytes(sKey);
????????????????System.IO.MemoryStream?ms?=?new?System.IO.MemoryStream();
????????????????using?(CryptoStream?cs?=?new?CryptoStream(ms?des.CreateDecryptor()?CryptoStreamMode.Write))
????????????????{
????????????????????cs.Write(inputByteArray?0?inputByteArray.Length);
????????????????????cs.FlushFinalBlock();
????????????????????cs.Close();
????????????????}
????????????????string?str?=?Encoding.UTF8.GetString(ms.ToArray());
????????????????ms.Close();
????????????????return?str;
????????????}
????????}
????}
}

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????384669??2019-03-07?10:00??HYAppFram?Development?.pdf
?????文件??????259221??2019-03-07?09:59??HYAppframe?Database?Development.pdf
?????文件??????401121??2019-03-07?09:59??HYAppframe?file?upload?and?download.pdf
?????文件??????733241??2019-03-07?09:58??HYAppframe?Install?Manual.pdf
?????文件??????259580??2019-03-07?10:00??HYAppframe?Introduce.pdf
?????文件??????690507??2019-03-07?10:01??HYAppframe?Workflow.pdf
?????目錄???????????0??2019-03-07?11:35??HYAppframe20161024版本\
?????文件????17347959??2019-03-07?09:43??HYAppframe20161024版本\HYAppframe20161024.zip
?????目錄???????????0??2019-03-07?11:02??HYAppframe20161024版本\HYAppframe20161024\
?????目錄???????????0??2019-03-08?14:02??HYAppframe20161024版本\HYAppframe20161024\.git\
?????文件???????????8??2015-04-06?09:57??HYAppframe20161024版本\HYAppframe20161024\.git\.gitignore
?????文件??????????20??2015-09-16?21:12??HYAppframe20161024版本\HYAppframe20161024\.git\COMMIT_EDITMSG
?????文件?????????415??2019-03-08?14:02??HYAppframe20161024版本\HYAppframe20161024\.git\config
?????文件??????????73??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\description
?????文件?????????100??2015-04-06?14:58??HYAppframe20161024版本\HYAppframe20161024\.git\FETCH_HEAD
?????文件??????????23??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\HEAD
?????目錄???????????0??2019-03-07?09:34??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\
?????文件?????????452??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\applypatch-msg.sample
?????文件?????????896??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\commit-msg.sample
?????文件?????????160??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\post-commit.sample
?????文件?????????552??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\post-receive.sample
?????文件?????????189??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\post-update.sample
?????文件?????????398??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\pre-applypatch.sample
?????文件????????1704??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\pre-commit.sample
?????文件????????4951??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\pre-rebase.sample
?????文件????????1239??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\prepare-commit-msg.sample
?????文件????????3611??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\hooks\update.sample
?????文件???????27305??2015-09-16?21:12??HYAppframe20161024版本\HYAppframe20161024\.git\index
?????目錄???????????0??2019-03-07?09:34??HYAppframe20161024版本\HYAppframe20161024\.git\info\
?????文件?????????240??2015-03-04?09:38??HYAppframe20161024版本\HYAppframe20161024\.git\info\exclude
?????目錄???????????0??2019-03-07?09:34??HYAppframe20161024版本\HYAppframe20161024\.git\logs\
............此處省略1579個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源