Hi,
I got some code for converting text to harsh password but my problem now is how to really implement the code such that when i type anything as password, it should be automatically be converted to harsh text. Here is my code below:
Global g_Enabled As Boolean
Public Const Salt As Long = 803401179
Public Function Encrypt(strIn As String) As String
Dim strChr As String
Dim i As Integer
For i = 1 To Len(strIn)
strChr = strChr & CStr(Asc(Mid(strIn, i, 1)) Xor Salt)
Next i
Encrypt = strChr
End Function
Thank you in advance.
I got some code for converting text to harsh password but my problem now is how to really implement the code such that when i type anything as password, it should be automatically be converted to harsh text. Here is my code below:
Global g_Enabled As Boolean
Public Const Salt As Long = 803401179
Public Function Encrypt(strIn As String) As String
Dim strChr As String
Dim i As Integer
For i = 1 To Len(strIn)
strChr = strChr & CStr(Asc(Mid(strIn, i, 1)) Xor Salt)
Next i
Encrypt = strChr
End Function
Thank you in advance.