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

📄 frmencstrings.frm

📁 程序加密算法
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form frmEncStrings 
   BorderStyle     =   1  'Fixed Single
   ClientHeight    =   6720
   ClientLeft      =   1410
   ClientTop       =   915
   ClientWidth     =   5565
   Icon            =   "frmEncStrings.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   6720
   ScaleWidth      =   5565
   Begin VB.Frame Frame1 
      Caption         =   "Cipher Algorithm"
      Height          =   540
      Left            =   150
      TabIndex        =   12
      Top             =   750
      Width           =   5265
      Begin VB.OptionButton optCipher 
         Caption         =   " 3DES-112"
         Height          =   240
         Index           =   4
         Left            =   3900
         TabIndex        =   17
         Top             =   225
         Width           =   1140
      End
      Begin VB.OptionButton optCipher 
         Caption         =   "3DES"
         Height          =   240
         Index           =   3
         Left            =   2925
         TabIndex        =   16
         Top             =   225
         Width           =   765
      End
      Begin VB.OptionButton optCipher 
         Caption         =   "DES"
         Height          =   240
         Index           =   2
         Left            =   2025
         TabIndex        =   15
         Top             =   225
         Width           =   765
      End
      Begin VB.OptionButton optCipher 
         Caption         =   "RC2"
         Height          =   240
         Index           =   1
         Left            =   1125
         TabIndex        =   14
         Top             =   225
         Width           =   765
      End
      Begin VB.OptionButton optCipher 
         Caption         =   "RC4"
         Height          =   240
         Index           =   0
         Left            =   225
         TabIndex        =   13
         Top             =   225
         Value           =   -1  'True
         Width           =   765
      End
   End
   Begin VB.TextBox txtData 
      BackColor       =   &H00FFFFFF&
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   315
      Index           =   0
      Left            =   120
      ScrollBars      =   2  'Vertical
      TabIndex        =   0
      Top             =   1620
      Width           =   5295
   End
   Begin VB.TextBox txtData 
      BackColor       =   &H00FFFFC0&
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   795
      Index           =   3
      Left            =   120
      Locked          =   -1  'True
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   10
      TabStop         =   0   'False
      Top             =   5340
      Width           =   5295
   End
   Begin VB.TextBox txtData 
      BackColor       =   &H00FFFFC0&
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   795
      Index           =   2
      Left            =   120
      Locked          =   -1  'True
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   9
      TabStop         =   0   'False
      Top             =   4200
      Width           =   5295
   End
   Begin VB.TextBox txtData 
      BackColor       =   &H00FFFFFF&
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   795
      Index           =   1
      Left            =   150
      MaxLength       =   512
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   1
      Top             =   2250
      Width           =   5295
   End
   Begin VB.CommandButton cmdChoice 
      Caption         =   "&Test"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Index           =   0
      Left            =   3300
      TabIndex        =   2
      Top             =   6285
      Width           =   975
   End
   Begin VB.CommandButton cmdChoice 
      Caption         =   "&Cancel"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Index           =   1
      Left            =   4380
      TabIndex        =   3
      Top             =   6285
      Width           =   975
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "Input a password / passphrase  (Default password used if left blank)"
      Height          =   195
      Index           =   1
      Left            =   120
      TabIndex        =   11
      Top             =   1380
      Width           =   4800
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "Data decrypted from the encrypted data above"
      Height          =   195
      Index           =   4
      Left            =   120
      TabIndex        =   8
      Top             =   5100
      Width           =   5130
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Height          =   975
      Index           =   3
      Left            =   120
      TabIndex        =   7
      Top             =   3180
      Width           =   5190
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "Input data to be encrypted"
      Height          =   195
      Index           =   2
      Left            =   120
      TabIndex        =   6
      Top             =   2040
      Width           =   3600
   End
   Begin VB.Label lblMyLabel 
      BackStyle       =   0  'Transparent
      Height          =   360
      Left            =   180
      TabIndex        =   5
      Top             =   6285
      Width           =   2925
   End
   Begin VB.Label lblTitle 
      Alignment       =   2  'Center
      BackColor       =   &H00C00000&
      BorderStyle     =   1  'Fixed Single
      Caption         =   "Test String Encryption"
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   18
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFFFF&
      Height          =   555
      Left            =   127
      TabIndex        =   4
      Top             =   120
      Width           =   5310
   End
End
Attribute VB_Name = "frmEncStrings"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

' ---------------------------------------------------------------------------
' Define module level variables
' ---------------------------------------------------------------------------
  Private arData()     As Byte     ' added 08-Jan-2001 KCI
  Private arPWord()    As Byte     ' added 08-Jan-2001 KCI
  Private m_intCipher  As Integer  ' Added 09-Sep-2001 KCI
  
Private Sub cmdChoice_Click(Index As Integer)

' ***************************************************************************
' Routine:       cmdChoice_Click
'
' Description:   Based on command button selected, perform string encryption
'                of return to the main menu.
'
' ===========================================================================
'    DATE      NAME / eMAIL
'              DESCRIPTION
' -----------  --------------------------------------------------------------

⌨️ 快捷键说明

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