In fact, in ASP.NET programming, MD5.asp is not called to encrypt data. There is a class in the DOTNET: system.web.security.hashpasswordforstoringInconfigfile ()
Public STRING MD5 (String Str, INT CODE) {if (Code == 16) // 16-bit MD5 encryption (Take 32-bit encrypted 9 ~ 25 characters) {Return System.Web.Security.FormSauthentication.HashPasswordforstoringInconfigfile (Str, " MD5 "). TOLOWER (). Substring (8, 16);} if (code == 32) // 32 bits encryption {Return System.Web.Security.FormSauthentication.HashPasswordforStoringInfigfile (STR," MD5 "). TOLOWER ()". } Return "0000000000000000000000000000000000";