⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 帮助开发出来的程序加密和解密!采用MD5算法
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   5295
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   8160
   LinkTopic       =   "Form1"
   ScaleHeight     =   5295
   ScaleWidth      =   8160
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command3 
      Caption         =   "Command3"
      Height          =   735
      Left            =   3120
      TabIndex        =   8
      Top             =   4320
      Width           =   1095
   End
   Begin VB.TextBox Text5 
      Height          =   615
      Left            =   1080
      TabIndex        =   7
      Top             =   4200
      Width           =   1335
   End
   Begin VB.TextBox Text4 
      Height          =   285
      Left            =   4440
      TabIndex        =   6
      Text            =   "Text4"
      Top             =   360
      Width           =   615
   End
   Begin VB.TextBox Text3 
      Height          =   285
      Left            =   840
      TabIndex        =   5
      Text            =   "Text3"
      Top             =   360
      Width           =   615
   End
   Begin VB.TextBox Text2 
      Height          =   855
      Left            =   3480
      TabIndex        =   3
      Top             =   720
      Width           =   2895
   End
   Begin VB.CommandButton Command2 
      Caption         =   "Command2"
      Height          =   855
      Left            =   4080
      TabIndex        =   2
      Top             =   2760
      Width           =   1935
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   735
      Left            =   360
      TabIndex        =   1
      Top             =   2760
      Width           =   1575
   End
   Begin VB.TextBox Text1 
      Height          =   855
      Left            =   360
      TabIndex        =   0
      Top             =   720
      Width           =   2535
   End
   Begin VB.Label Label1 
      Caption         =   "Label1"
      Height          =   975
      Left            =   240
      TabIndex        =   4
      Top             =   1680
      Width           =   2415
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim endpass As String
Dim password As String
Dim tmp1 As String
Dim ascpass As Long
  passl = Len(Text1.Text)
  Text3 = passl
     endpass = ""
     For i = 1 To passl
          password = Mid(Text1.Text, i, 1)
          ascpass = Asc(password) + i * (i + 1) - 1
          Do While ascpass > 126
            Do While ascpass > 126
               ascpass = ascpass - 126
            Loop
            ascpass = ascpass + 32
          Loop
           tmp1 = Chr(ascpass)
          endpass = tmp1 & endpass
      Next i
          
 Label1.Caption = endpass
End Sub

Private Sub Command2_Click()
Text2.Text = ""
Dim endpass1 As String
Dim password As String
Dim tmp2 As String
Dim ascpass  As Long
tmp2 = ""
 passl = Len(Label1.Caption)
  Text4 = passl
     endpass1 = ""
     For i = 1 To passl
          password = Mid(Label1.Caption, i, 1)
     ascpass = Asc(password)
   
            ascpass = ascpass - (passl - i + 1) * ((passl - i + 1) + 1) + 1
        
            tmp2 = Chr(ascpass)
          endpass1 = tmp2 & endpass1
      Next
          Text2.Text = endpass1
End Sub

Private Sub Command3_Click()
Text5 = Asc(Text5)
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -