MD5 encryption in ASP.NET Select BLOG from Catally

xiaoxiao2021-03-06  60

In fact, in ASP.NET programming, MD5.asp is not called to encrypt data. There is an coming in the DOTNET: system.web.security.hashpasswordforstoringInconfigfile () public 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.hashpasswordforstoringInconfigfile (STR, "MD5"). TOLOWER ();} return "@}} Return" 000000000000000000000000000000 ";

转载请注明原文地址:https://www.9cbs.com/read-84361.html

New Post(0)