摘要:
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text; namespaceConsoleApplication2{publicclassMyList { privatestaticintobjCount=0;publicMyList() {objCount++;} publicintCount { get{returnobjCount;} } }classProgram{classSampleClass{}classMyClass{}staticvoidMain(string[]... 阅读全文
posted @ 2013-06-25 17:32
pengbg
阅读(354)
评论(3)
推荐(0)
摘要:
还可以加盐,更难以破解 publicstaticstringGetMD5(stringsDataIn){MD5CryptoServiceProvidermd5=newMD5CryptoServiceProvider();byte[]btvalue,bthach;btvalue=System.Text.Encoding.UTF8.GetBytes(sDataIn);bthach=md5.ComputeHash(btvalue);md5.Clear();stringsTemp="";for(inti=0;i<bthach.Length;i++){sTemp+=bthach 阅读全文
posted @ 2013-06-25 10:42
pengbg
阅读(218)
评论(0)
推荐(0)
浙公网安备 33010602011771号