📄 fmain.dfm
字号:
end
object Label14: TLabel
Left = 8
Top = 16
Width = 108
Height = 13
Caption = 'Generate key(s) of size'
end
object LabelRsaKeyLim: TLabel
Left = 140
Top = 36
Width = 73
Height = 13
Caption = '32 to 512 bytes'
end
object Label16: TLabel
Left = 8
Top = 108
Width = 96
Height = 13
Caption = 'D (private exponent)'
end
object Label17: TLabel
Left = 8
Top = 152
Width = 91
Height = 13
Caption = 'E (public exponent)'
end
object EditRsaKeyN: TEdit
Left = 8
Top = 76
Width = 521
Height = 21
TabOrder = 1
OnKeyDown = EditRsaKeyKeyDown
end
object btUpdRsaKey: TButton
Left = 540
Top = 76
Width = 53
Height = 21
Caption = 'Update'
TabOrder = 4
OnClick = btUpdRsaKeyClick
end
object btSaveRsaKey: TButton
Left = 540
Top = 168
Width = 53
Height = 21
Caption = 'Save'
TabOrder = 7
OnClick = btSaveRsaKeyClick
end
object btGenRsaKey: TButton
Left = 540
Top = 107
Width = 53
Height = 21
Caption = 'Generate'
TabOrder = 5
OnClick = btGenRsaKeyClick
end
object btLoadRsaKey: TButton
Left = 540
Top = 137
Width = 53
Height = 21
Caption = 'Load'
TabOrder = 6
OnClick = btLoadRsaKeyClick
end
object EditRsaKeyLen: TEdit
Left = 8
Top = 32
Width = 125
Height = 21
TabOrder = 0
end
object EditRsaKeyE: TEdit
Left = 8
Top = 168
Width = 521
Height = 21
TabOrder = 3
OnKeyDown = EditRsaKeyKeyDown
end
object EditRsaKeyD: TEdit
Left = 8
Top = 124
Width = 521
Height = 21
TabOrder = 2
OnKeyDown = EditRsaKeyKeyDown
end
end
object GroupRsaData: TGroupBox
Left = 4
Top = 284
Width = 601
Height = 157
Caption = 'Data'
TabOrder = 4
object Label18: TLabel
Left = 8
Top = 20
Width = 58
Height = 13
Caption = 'Source data'
end
object Label19: TLabel
Left = 8
Top = 64
Width = 72
Height = 13
Caption = 'Encrypted data'
end
object Label20: TLabel
Left = 8
Top = 108
Width = 73
Height = 13
Caption = 'Decrypted data'
end
object EditRsa1: TEdit
Left = 8
Top = 36
Width = 521
Height = 21
TabOrder = 0
end
object EditRsa2: TEdit
Left = 8
Top = 80
Width = 521
Height = 21
TabOrder = 3
end
object EditRsa3: TEdit
Left = 8
Top = 124
Width = 521
Height = 21
TabOrder = 4
end
object btEncryptRsa: TButton
Left = 540
Top = 36
Width = 53
Height = 21
Caption = 'Encrypt'
TabOrder = 5
OnClick = btEncryptRsaClick
end
object btDecryptRsa: TButton
Left = 540
Top = 80
Width = 53
Height = 21
Caption = 'Decrypt'
TabOrder = 6
OnClick = btDecryptRsaClick
end
object rbRsaDataHex: TRadioButton
Left = 444
Top = 12
Width = 45
Height = 17
Caption = 'Hex'
TabOrder = 1
OnClick = rbRsaDataHexClick
end
object rbRsaDataStr: TRadioButton
Left = 492
Top = 12
Width = 37
Height = 17
Caption = 'Str'
Checked = True
TabOrder = 2
TabStop = True
OnClick = rbRsaDataStrClick
end
end
object GroupScheme: TGroupBox
Left = 4
Top = 32
Width = 133
Height = 37
Caption = 'Scheme'
TabOrder = 1
object rbPkcs: TRadioButton
Left = 8
Top = 14
Width = 57
Height = 17
Caption = 'PKCS1'
Checked = True
TabOrder = 0
TabStop = True
OnClick = rbPkcsClick
end
object rbOaep: TRadioButton
Left = 72
Top = 14
Width = 53
Height = 17
Caption = 'OAEP'
TabOrder = 1
OnClick = rbOaepClick
end
end
object ToolBar5: TToolBar
Left = 0
Top = 0
Width = 610
Height = 29
BorderWidth = 1
ButtonHeight = 21
ButtonWidth = 60
Caption = 'ToolBar5'
EdgeBorders = [ebBottom]
Flat = True
ShowCaptions = True
TabOrder = 0
object tbEncryptRsaFile: TToolButton
Left = 0
Top = 0
Caption = 'Encrypt file'
ImageIndex = 0
OnClick = tbEncryptRsaFileClick
end
object tbDecryptRsaFile: TToolButton
Left = 60
Top = 0
Caption = 'Decrypt file'
ImageIndex = 1
OnClick = tbDecryptRsaFileClick
end
object ToolButton3: TToolButton
Left = 120
Top = 0
Width = 8
Caption = 'ToolButton3'
ImageIndex = 2
Style = tbsSeparator
end
object tbSignFile: TToolButton
Left = 128
Top = 0
Caption = 'Sign file'
ImageIndex = 2
OnClick = tbSignFileClick
end
object tbVerifyFile: TToolButton
Left = 188
Top = 0
Caption = 'Verify file'
ImageIndex = 3
OnClick = tbVerifyFileClick
end
object ToolButton6: TToolButton
Left = 248
Top = 0
Width = 8
Caption = 'ToolButton6'
ImageIndex = 4
Style = tbsSeparator
end
object tbTestRsaKey: TToolButton
Left = 256
Top = 0
Caption = 'Test key'
ImageIndex = 4
OnClick = tbTestRsaKeyClick
end
end
object PanelShemeDigest: TPanel
Left = 148
Top = 37
Width = 177
Height = 32
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 2
object LabelRsaDigest: TLabel
Left = 7
Top = 10
Width = 70
Height = 13
Caption = 'Scheme digest'
end
object cbRsaDigest: TComboBox
Left = 88
Top = 5
Width = 77
Height = 21
Style = csDropDownList
ItemHeight = 13
TabOrder = 0
OnClick = cbRsaDigestClick
Items.Strings = (
'MD2'
'MD4'
'MD5'
'SHA-1')
end
end
object Panel1: TPanel
Left = 336
Top = 37
Width = 221
Height = 32
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 5
object Label6: TLabel
Left = 7
Top = 10
Width = 103
Height = 13
Caption = 'Small public exponent'
end
object cbSmallPub: TComboBox
Left = 124
Top = 5
Width = 77
Height = 21
ItemHeight = 13
TabOrder = 0
Items.Strings = (
'0'
'3'
'5'
'7'
'11'
'13'
'17'
'19'
'23'
'29'
'31'
'37'
'41'
'43'
'47'
'53'
'59'
'61'
'67'
'71'
'73'
'79'
'83'
'89'
'97'
'101'
'103'
'107'
'109'
'113'
'127'
'131'
'137'
'139'
'149'
'151'
'157'
'163'
'167'
'173'
'179'
'181'
'191'
'193'
'197'
'199'
'211'
'223'
'227'
'229'
'233'
'239'
'241'
'251')
end
end
end
object TabSheet2: TTabSheet
Caption = 'Digest'
ImageIndex = 2
object GroupBox1: TGroupBox
Left = 4
Top = 32
Width = 317
Height = 37
Caption = 'Algorithm'
TabOrder = 1
object rbMD2: TRadioButton
Left = 8
Top = 14
Width = 41
Height = 17
Caption = 'MD2'
Checked = True
TabOrder = 0
TabStop = True
OnClick = rbMD2Click
end
object rbMD4: TRadioButton
Left = 60
Top = 14
Width = 41
Height = 17
Caption = 'MD4'
TabOrder = 1
OnClick = rbMD4Click
end
object rbMD5: TRadioButton
Left = 112
Top = 14
Width = 41
Height = 17
Caption = 'MD5'
TabOrder = 2
OnClick = rbMD5Click
end
object rbSHA1: TRadioButton
Left = 164
Top = 14
Width = 53
Height = 17
Caption = 'SHA-1'
TabOrder = 3
OnClick = rbSHA1Click
end
object rbRipEmd: TRadioButton
Left = 224
Top = 14
Width = 85
Height = 17
Caption = 'RIPEMD-160'
TabOrder = 4
OnClick = rbRipEmdClick
end
end
object GroupBox2: TGroupBox
Left = 4
Top = 80
Width = 601
Height = 117
Caption = 'Data'
TabOrder = 2
object Label1: TLabel
Left = 8
Top = 20
Width = 58
Height = 13
Caption = 'Source data'
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -