您的位置:程序门 -> .net技术 -> c#



关于md5的一个问题


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


关于md5的一个问题[已结贴,结贴人:we_homder]
发表于:2007-04-03 11:27:17 楼主
我新建了一个智能设备应用程序。数据库的数据是用md5加密了,我现在要用到md5这个类。为什么我都引用了   using   system.security.cryptography。干吗md5类还是用不了呢。如果不行,有什么好办法呢
发表于:2007-04-03 11:31:081楼 得分:5
up
发表于:2007-04-03 11:32:002楼 得分:5
encryptedpwd   =   system.web.security.formsauthentication.hashpasswordforstoringinconfigfile(password   , "md5 ");
发表于:2007-04-03 11:33:413楼 得分:0
智能设备应用程序好像没有这个

system.web.security.formsauthentication.hashpasswordforstoringinconfigfile()
发表于:2007-04-03 11:42:234楼 得分:5
限制这么多阿...
发表于:2007-04-03 11:47:235楼 得分:5
system.security.cryptography.md5   md5   =   md5.create();
                                byte[]   by   =   md5.computehash(encoding.utf8.getbytes(str));
                                string   str1=   " ";
                                for   (int   i   =   0;   i   <   by.length;   i++)
                                {
                                        str1=   str1+   by[i].tostring( "x ");
                                }


快速检索

最新资讯
热门点击