c#学习无限

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

2007年8月15日

摘要: 应用名称空间:using System.Security;using System.Security.Principal;using System.Security.Cryptography;using System.Text;函数代码如下:public string Encrypt(string password){ ///获取Byte数组Byte[] clearBytes = new UnicodeEncoding().GetBytes(password);///获取Hash值Byte[] hashedBytes = ((HashAlgorithm)CryptoConfig.CreateF 阅读全文
posted @ 2007-08-15 10:40 网网由鱼 阅读(139) 评论(0) 推荐(0) 编辑