求高手破解 vb 用户登录界面 密码,O(∩ _ ∩)O 谢谢。
此贴已结[ 本帖最后由 vbqwerty 于 2014-5-13 14:23 编辑 ]
2014-05-10 19:01
程序代码:Private Sub Command1_Click()
Dim s As String
s = InputBox("请输入密文:", "输入密文")
If Len(s) > 0 Then
s = decode_reduce3(s)
MsgBox "原密码是:" & s
End If
End Sub
'解密函数,在 加密控制类 中。包括加密函数都在。
Public Function decode_reduce3(ByVal the_txt As String) As String
Dim num1&
Dim char2$
Dim char3$
Dim i As Long
For i = 1 To Len(the_txt)
num1 = Asc(Mid(the_txt, i, 1))
num1 = num1 - 4
char2 = Chr(num1)
char3 = char3 & char2
Next i
decode_reduce3 = char3
End Function

2014-05-10 21:57
2014-05-12 00:05
2014-05-12 11:06
2014-05-13 14:22
2014-06-24 16:09
2014-07-04 23:02

2014-07-04 23:10
2014-07-05 13:07