用VB.Net自带的MD5加密Imports System.Text
用VB.Net自带的MD5加密
Imports用VB.Net自带的MD5加密
用VB.Net自带的MD5加密   Private End Function  ;
;system.security.cryptography>

------------------------------------------

上面的那个,我试后好像会出现乱码
如果不行的话试试下的这个吧:
首先在引用里面添加一个System.Web.dll这个引用
Imports System.Web.Security
    Public Class MD5
        Public Function MD5(ByVal StrValue  As String)  As String
            MD5 = FormsAuthentication.HashPasswordForStoringInConfigFile(StrValue, "md5")
        End Function
    End Class
用的时候直接调用上面的类:S=md5("你要加密的值")

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
  • 2021-12-31
猜你喜欢
  • 2021-08-31
  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
相关资源
相似解决方案