摘要: public void getArray() { string[] str = new string[] {"1","2","3","4","5" }; List strList = new List(); for (i... 阅读全文
posted @ 2014-12-15 18:04 临冰听雪丶 阅读(149) 评论(0) 推荐(0) 编辑
摘要: //SHA1 static public string SHA1_Hash(string str_sha1_in) { SHA1 sha1 = new SHA1CryptoServiceProvider(); byte[]... 阅读全文
posted @ 2014-12-15 15:58 临冰听雪丶 阅读(217) 评论(0) 推荐(0) 编辑
摘要: byte[] by = Encoding.Default.GetBytes("000000"); by = new MD5CryptoServiceProvider().ComputeHash(by); string text1 = ""; ... 阅读全文
posted @ 2014-12-15 15:20 临冰听雪丶 阅读(158) 评论(0) 推荐(0) 编辑