对AppSettings节点的读取

System.Web.Configuration.WebConfigurationManager.AppSettings["myName"].ToString();

 

 

加密算法

SHA1CrypttoServicesProvider   sha=new SHA1CrypttoServicesProvider();
等价于
SHA1 sa1 = SHA1.Create();
//RNGCryptServicesProvider方法生成随即数字

相关文章: