📄 frmencrypt.frm
字号:
VERSION 5.00
Begin VB.Form frmEncrypt
BorderStyle = 1 'Fixed Single
Caption = "数据加密技术"
ClientHeight = 3795
ClientLeft = 45
ClientTop = 360
ClientWidth = 6075
Icon = "frmEncrypt.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3795
ScaleWidth = 6075
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Caption = "加密程序"
Height = 3525
Left = 90
TabIndex = 1
Top = 120
Width = 5835
Begin VB.CommandButton Command2
Caption = "关闭"
Height = 525
Left = 3540
TabIndex = 9
Top = 2730
Width = 1815
End
Begin VB.CommandButton Command1
Caption = "加密"
Height = 525
Index = 0
Left = 1770
TabIndex = 8
Top = 2730
Width = 1770
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
BackColor = &H00C0FFFF&
Height = 300
Left = 1620
MultiLine = -1 'True
TabIndex = 4
ToolTipText = "Type the String to be Encrypted Here."
Top = 870
Width = 3780
End
Begin VB.TextBox Text2
Appearance = 0 'Flat
BackColor = &H0080FF80&
Height = 435
Left = 480
Locked = -1 'True
MultiLine = -1 'True
TabIndex = 3
Top = 1860
Width = 4815
End
Begin VB.TextBox Text3
Appearance = 0 'Flat
BackColor = &H00C0FFC0&
Height = 315
Left = 1590
MultiLine = -1 'True
TabIndex = 2
ToolTipText = "Type the String to be Encrypted Here."
Top = 420
Width = 3780
End
Begin VB.Label Label1
Caption = "待 加 密 字 符 串"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 150
TabIndex = 7
Top = 900
Width = 1455
End
Begin VB.Label Label2
Caption = "加密后的字符串"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 270
TabIndex = 6
Top = 1440
Width = 1455
End
Begin VB.Label Label3
Caption = "密钥"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1020
TabIndex = 5
Top = 420
Width = 465
End
End
Begin VB.PictureBox ImageList1
BackColor = &H80000005&
Height = 480
Left = 5445
ScaleHeight = 420
ScaleWidth = 1140
TabIndex = 0
Top = 5760
Width = 1200
End
End
Attribute VB_Name = "frmEncrypt"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private MydsEncrypt As dsEncrypt
Private Sub Command1_Click(Index As Integer)
MydsEncrypt.KeyString = (Text3.Text)
Text2.Text = MydsEncrypt.Encrypt(Text1.Text)
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
Set MydsEncrypt = New dsEncrypt
Text3.Text = "xiaojingfeng"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -