2012年1月17日
摘要: 数据库存储用户资料时,密码不能用明文存放,应该做到一人一密。 存储加密后的密文和Salt文本。 本示例是C#,Microsoft Enterprise Library实现。//1. 引用命名空间using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Security;using System.Security.Cryptography;using Microsoft.Practices.EnterpriseLibrary.Security.Cryptogra.. 阅读全文
posted @ 2012-01-17 14:30 搬拦捶 阅读(225) 评论(0) 推荐(0)