md5加密

string sEncrypted = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(sPassword, "MD5");

原串:sPassword

密文串:sEncrypted

命名空间:using System.Security;

posted @ 2009-02-26 19:26  咖啡不苦  阅读(175)  评论(0编辑  收藏  举报