27+ results for 'ASCIIEncoding.ASCII.GetBytes(sKey);' (0 ms)
Not the results you expected?
LicenseCheckLib.cs (http://htmlconvertsql.googlecode.com/svn/trunk/) C# · 224 lines
Security.cs (https://hg.codeplex.com/ssta) C# · 113 lines
49 {
50 DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
51 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
52 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
81 {
82 DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
83 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
84 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
EncryptionHelper.cs (https://bitbucket.org/JPomichael/miaow.git) C# · 84 lines
DESEncrypt.cs (https://github.com/chi8708/NBCZ_Admin.git) C# · 136 lines
69 DESCryptoServiceProvider des = new DESCryptoServiceProvider();
70 byte[] inputByteArray = Encoding.GetEncoding("UTF-8").GetBytes(pToEncrypt);
71 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
72 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
108 }
110 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
111 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
windows2.cs (https://github.com/usecodelee/encryption-algorithm.git) C# · 134 lines
SecretHelper.cs (http://colvinliu.googlecode.com/svn/trunk/) C# · 97 lines
DesTool.cs (https://github.com/yuzhengyang/Fork.git) C# · 80 lines
Encryption.cs (https://github.com/kfstorm/DoubanFM.git) C# · 99 lines
EnCode.cs (https://fjaspx.svn.codeplex.com/svn) C# · 83 lines
DESEncrypt.cs (https://github.com/wuyuande/DaleCloudNetFramework.git) C# · 219 lines
75 inputByteArray = Encoding.Default.GetBytes(Text);
76 sKey = MD5(sKey).Substring(0, 8);
77 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
78 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
172 }
173 sKey = MD5(sKey).Substring(0, 8);
174 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
175 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
Program.cs (https://HaozesFx.svn.codeplex.com/svn) C# · 72 lines
MD5Helper.cs (https://github.com/zwl568633995/AspNetCoreScaffolding.git) C# · 57 lines
14 DESCryptoServiceProvider des = new DESCryptoServiceProvider();
15 byte[] inputByteArray = Encoding.Default.GetBytes(pToEncrypt);
16 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
17 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
43 }
45 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
46 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
EncodeHelper.cs (https://20121126.svn.codeplex.com/svn) C# · 216 lines
98 byte[] result;
99 DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
100 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
101 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
129 DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
130 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
131 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
AccountData.cs (https://bitbucket.org/jdm7dvmoore/msft-research-verve.git) C# · 119 lines
72 DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
74 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
75 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
93 //A 64 bit key and IV is required for this provider.
94 //Set secret key For DES algorithm.
95 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
96 //Set initialization vector.
97 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
WinHelper.cs (https://github.com/luiges90/ZHSan.git) C# · 122 lines
73 FileAccess.Write);
74 DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
75 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
76 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
94 DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
96 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
97 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
Form1.cs (https://gitlab.com/BGCX261/zhuanlidm-svn-to-git.git) C# · 89 lines
EncryptString.cs (https://github.com/trycath/We7CMS.git) C# · 170 lines
Encryption.cs (https://mailsystem.svn.codeplex.com/svn) C# · 101 lines
Safe.cs (https://github.com/vampire1202/HSTest.git) C# · 108 lines
56 FileAccess.Write);
57 DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
58 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
59 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
84 //A 64 bit key and IV is required for this provider.
85 //Set secret key For DES algorithm.
86 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
87 //Set initialization vector.
88 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
DESEncrypt.cs (https://github.com/yuzhengyang/MySocket.git) C# · 109 lines
44 byte[] inputByteArray;
45 inputByteArray = Encoding.Default.GetBytes(Text);
46 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
47 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
92 inputByteArray[x] = (byte)i;
93 }
94 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
95 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
DESHelper1.cs (https://github.com/lsamu/V5_DataCollection.git) C# · 82 lines
MyDes.cs (https://github.com/bulue/CSOL---.git) C# · 68 lines
Program.cs (https://github.com/arvitaly/SimpleWindowsCrypter.git) C# · 111 lines
37 FileAccess.Write);
38 DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
39 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
40 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
59 //A 64 bit key and IV is required for this provider.
60 //Set secret key For DES algorithm.
61 DES.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
62 //Set initialization vector.
63 DES.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
DESHelper.cs (https://github.com/chenshunliang/MyTestHub.git) C# · 75 lines
32 {
33 byte[] inputByteArray = Encoding.UTF8.GetBytes(pToEncrypt);
34 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
35 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
58 using (DESCryptoServiceProvider des = new DESCryptoServiceProvider())
59 {
60 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
61 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);
DuoWeb.cs (https://github.com/jpellerin/duo_web.git) C# · 127 lines
DES.cs (https://github.com/bbisky/dotnet.git) C# · 106 lines
CookiesHelper.cs (https://github.com/sboxzhang/JXNG.git) C# · 91 lines
41 byte[] inputByteArray = Encoding.Default.GetBytes(originalString);
43 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey); //建立加密对象的密钥和偏移量
44 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey); //原文使用ASCIIEncoding.ASCII方法的
73 //建立加密对象的密钥和偏移量,此值重要,不能修改
75 des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
77 des.IV = ASCIIEncoding.ASCII.GetBytes(sKey);