which form of encryption is used in this asp function

妖精的绣舞 提交于 2019-12-23 05:29:21

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!