问题
Below asp function is used to encrypt passwords.
Function EncryptPassword(vPwd)
vTempPwd = ""
EncryptPassword = ""
For i = 1 To Len(vPwd)
vTempPwd = vTempPwd & Chr((255 - Asc(Mid(vPwd, i, i))) / 2)
Next
For i = Len(vPwd) + 1 To 10
vTempPwd = vTempPwd & CStr(i - Len(vPwd))
Next
EncryptPassword = vTempPwd
End Function
Can anyone just tell me which method of encryption is this? I want to use the same method of encryption is asp.net.
来源:https://stackoverflow.com/questions/38127127/which-form-of-encryption-is-used-in-this-asp-function