加密函数
Function jiami(ByVal sValue As String) As String Dim tempString As String = ""
Dim i As Integer For i = 1 To Len(sValue) tempString = tempString & Chr(Asc(Left(sValue, 1)) + 100) sValue = Right(sValue, Len(sValue) - 1)
Next Return tempString End Function
其中sValue 是要加密的字符
tempString是加密后的密码怎样给这个函数解密!现在数据库表中的密码是在E文操作系统中加密成的,那我在中文操作系统中是否可以解密?
Function jiami(ByVal sValue As String) As String Dim tempString As String = ""
Dim i As Integer For i = 1 To Len(sValue) tempString = tempString & Chr(Asc(Left(sValue, 1)) + 100) sValue = Right(sValue, Len(sValue) - 1)
Next Return tempString End Function
其中sValue 是要加密的字符
tempString是加密后的密码怎样给这个函数解密!现在数据库表中的密码是在E文操作系统中加密成的,那我在中文操作系统中是否可以解密?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货