挽星

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2010年5月10日

摘要: //取得某月的最后一天 //方法一:使用算出該月多少天,年+月+加上多少天即得,舉例取今天這個月的最后一天 private void GetLastDateForMonth(DateTime DtStart, out DateTime DtEnd) { int Dtyear, DtMonth; DtStart = DateTime.Now; Dtyear = DtStart.Year; DtMon... 阅读全文
posted @ 2010-05-10 18:44 挽星 阅读(5576) 评论(0) 推荐(1)

摘要: 首先,先简单介绍一下MD5MD5的全称是message-digest algorithm 5(信息-摘要算法,在90年代初由mit laboratory for computer science和rsa data security inc的ronald l. rivest开发出来, 经md2、md3和md4发展而来。MD5具有很好的安全性(因为它具有不可逆的特征,加过密的密文经过解密后和加密前的东... 阅读全文
posted @ 2010-05-10 16:20 挽星 阅读(2481) 评论(0) 推荐(1)