找回密码
 加入
搜索
查看: 1597|回复: 0

关于MD5的问题

  [复制链接]
发表于 2008-8-31 13:00:47 | 显示全部楼层 |阅读模式
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region --- CodeWizard generated code Start ---
$Form1 = GUICreate("网吧维护工具",  288, 106)
$Group1 = GUICtrlCreateGroup("", 8, 1, 273, 97)
$pwd = GUICtrlCreateInput("", 24, 24, 241, 21,$ES_PASSWORD)
$Button1 = GUICtrlCreateButton("确定", 106, 60, 75, 25, 0)
$Button2 = GUICtrlCreateButton("取消", 192, 60, 75, 25, 0)
$Button3 = GUICtrlCreateButton("关机", 20, 60, 75, 25, 0)
$Form2 = GUICreate("网吧维护工具", 488, 406)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISwitch($Form1)
GUISetState(@SW_SHOW)
#EndRegion --- CodeWizard generated code End ---

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit
                case $Button1
                                if         GUICtrlRead($pwd) = "12345" Then
                                        GUISwitch($Form2)
                                        GUISetState(@sw_show)
                                        GUISwitch($form1)
                                        GUISetState(@SW_HIDE)
                        Else
                                        TrayTip("提示","密码输入有误,请重试",3,1)
                                        Sleep(1000)
                                EndIf
                case $Button2
                        Exit
                case $Button3
                        WinClose("Program Manager")
        EndSwitch
WEnd

我有MD5.AU3码嘛 ,

这段代码,我想换成,MD5验证密码,然后密码要可以修改的.
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-3-29 07:44 , Processed in 0.074279 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表