Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Cryptography 101 for the .NET Framework

, 22 Dec 2006
An introduction to key cryptographic concepts supported by the .NET Framework.
cryptohelper.zip
CryptoHelper
bin
Release
CryptoHelper.dll
My Project
Application.myapp
Settings.settings
SimpleEncryptor
bin
Release
CryptoHelper.dll
SimpleEncryptor.exe
SimpleEncryptor.vshost.exe
My Project
Application.myapp
Settings.settings
SimpleEncryptor.vbproj.user
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing AndAlso components IsNot Nothing Then
            components.Dispose()
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.tbSourceText = New System.Windows.Forms.TextBox
        Me.cbAlgorithm = New System.Windows.Forms.ComboBox
        Me.tbOutputText = New System.Windows.Forms.TextBox
        Me.tbKey = New System.Windows.Forms.TextBox
        Me.btnExecute = New System.Windows.Forms.Button
        Me.rdoEncrypt = New System.Windows.Forms.RadioButton
        Me.rdoDecrypt = New System.Windows.Forms.RadioButton
        Me.rdoHex = New System.Windows.Forms.RadioButton
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.RadioButton1 = New System.Windows.Forms.RadioButton
        Me.Label1 = New System.Windows.Forms.Label
        Me.Label2 = New System.Windows.Forms.Label
        Me.Label3 = New System.Windows.Forms.Label
        Me.Label4 = New System.Windows.Forms.Label
        Me.TabControl2 = New System.Windows.Forms.TabControl
        Me.tabString = New System.Windows.Forms.TabPage
        Me.tabFile = New System.Windows.Forms.TabPage
        Me.Label5 = New System.Windows.Forms.Label
        Me.Label6 = New System.Windows.Forms.Label
        Me.Label7 = New System.Windows.Forms.Label
        Me.cbAlgorithmFile = New System.Windows.Forms.ComboBox
        Me.rdoDecryptFile = New System.Windows.Forms.RadioButton
        Me.rdoEncryptFile = New System.Windows.Forms.RadioButton
        Me.tbInputFile = New System.Windows.Forms.TextBox
        Me.tbOutputFile = New System.Windows.Forms.TextBox
        Me.btnInputFile = New System.Windows.Forms.Button
        Me.btnOutputFile = New System.Windows.Forms.Button
        Me.btnFileExecute = New System.Windows.Forms.Button
        Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog
        Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog
        Me.Label8 = New System.Windows.Forms.Label
        Me.tbKeyFile = New System.Windows.Forms.TextBox
        Me.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.rdoBase64File = New System.Windows.Forms.RadioButton
        Me.rdoHexFile = New System.Windows.Forms.RadioButton
        Me.GroupBox1.SuspendLayout()
        Me.TabControl2.SuspendLayout()
        Me.tabString.SuspendLayout()
        Me.tabFile.SuspendLayout()
        Me.GroupBox2.SuspendLayout()
        Me.SuspendLayout()
        '
        'tbSourceText
        '
        Me.tbSourceText.Location = New System.Drawing.Point(174, 44)
        Me.tbSourceText.Multiline = True
        Me.tbSourceText.Name = "tbSourceText"
        Me.tbSourceText.Size = New System.Drawing.Size(475, 161)
        Me.tbSourceText.TabIndex = 0
        '
        'cbAlgorithm
        '
        Me.cbAlgorithm.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cbAlgorithm.FormattingEnabled = True
        Me.cbAlgorithm.Items.AddRange(New Object() {"SHA-1 (Hash)", "SHA-256 (Hash)", "SHA-384 (Hash)", "Rijndael", "Triple-DES", "RSA", "RC2", "DES", "DSA", "MD5 (Hash)", "RNG", "Base-64", "SHA-512 (Hash)"})
        Me.cbAlgorithm.Location = New System.Drawing.Point(174, 17)
        Me.cbAlgorithm.Name = "cbAlgorithm"
        Me.cbAlgorithm.Size = New System.Drawing.Size(206, 21)
        Me.cbAlgorithm.TabIndex = 1
        '
        'tbOutputText
        '
        Me.tbOutputText.Location = New System.Drawing.Point(174, 252)
        Me.tbOutputText.Multiline = True
        Me.tbOutputText.Name = "tbOutputText"
        Me.tbOutputText.Size = New System.Drawing.Size(475, 161)
        Me.tbOutputText.TabIndex = 2
        '
        'tbKey
        '
        Me.tbKey.Location = New System.Drawing.Point(174, 419)
        Me.tbKey.Name = "tbKey"
        Me.tbKey.Size = New System.Drawing.Size(474, 20)
        Me.tbKey.TabIndex = 3
        Me.tbKey.Text = "Mary Had A Little Lamb"
        '
        'btnExecute
        '
        Me.btnExecute.Location = New System.Drawing.Point(223, 457)
        Me.btnExecute.Name = "btnExecute"
        Me.btnExecute.Size = New System.Drawing.Size(230, 23)
        Me.btnExecute.TabIndex = 4
        Me.btnExecute.Text = "Execute"
        Me.btnExecute.UseVisualStyleBackColor = True
        '
        'rdoEncrypt
        '
        Me.rdoEncrypt.AutoSize = True
        Me.rdoEncrypt.Checked = True
        Me.rdoEncrypt.Location = New System.Drawing.Point(494, 18)
        Me.rdoEncrypt.Name = "rdoEncrypt"
        Me.rdoEncrypt.Size = New System.Drawing.Size(61, 17)
        Me.rdoEncrypt.TabIndex = 5
        Me.rdoEncrypt.TabStop = True
        Me.rdoEncrypt.Text = "Encrypt"
        Me.rdoEncrypt.UseVisualStyleBackColor = True
        '
        'rdoDecrypt
        '
        Me.rdoDecrypt.AutoSize = True
        Me.rdoDecrypt.Location = New System.Drawing.Point(583, 18)
        Me.rdoDecrypt.Name = "rdoDecrypt"
        Me.rdoDecrypt.Size = New System.Drawing.Size(62, 17)
        Me.rdoDecrypt.TabIndex = 6
        Me.rdoDecrypt.Text = "Decrypt"
        Me.rdoDecrypt.UseVisualStyleBackColor = True
        '
        'rdoHex
        '
        Me.rdoHex.AutoSize = True
        Me.rdoHex.Checked = True
        Me.rdoHex.Location = New System.Drawing.Point(6, 12)
        Me.rdoHex.Name = "rdoHex"
        Me.rdoHex.Size = New System.Drawing.Size(92, 17)
        Me.rdoHex.TabIndex = 7
        Me.rdoHex.TabStop = True
        Me.rdoHex.Text = "Hex Encoding"
        Me.rdoHex.UseVisualStyleBackColor = True
        '
        'GroupBox1
        '
        Me.GroupBox1.Controls.Add(Me.RadioButton1)
        Me.GroupBox1.Controls.Add(Me.rdoHex)
        Me.GroupBox1.Location = New System.Drawing.Point(174, 211)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(471, 35)
        Me.GroupBox1.TabIndex = 8
        Me.GroupBox1.TabStop = False
        '
        'RadioButton1
        '
        Me.RadioButton1.AutoSize = True
        Me.RadioButton1.Location = New System.Drawing.Point(144, 12)
        Me.RadioButton1.Name = "RadioButton1"
        Me.RadioButton1.Size = New System.Drawing.Size(112, 17)
        Me.RadioButton1.TabIndex = 8
        Me.RadioButton1.Text = "Base-64 Encoding"
        Me.RadioButton1.UseVisualStyleBackColor = True
        '
        'Label1
        '
        Me.Label1.AutoSize = True
        Me.Label1.Font = New System.Drawing.Font("Arial", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label1.Location = New System.Drawing.Point(8, 19)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(133, 16)
        Me.Label1.TabIndex = 9
        Me.Label1.Text = "Encryption Algorithm:"
        '
        'Label2
        '
        Me.Label2.AutoSize = True
        Me.Label2.Font = New System.Drawing.Font("Arial", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label2.Location = New System.Drawing.Point(8, 44)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(101, 16)
        Me.Label2.TabIndex = 10
        Me.Label2.Text = "Text to Encrypt:"
        '
        'Label3
        '
        Me.Label3.AutoSize = True
        Me.Label3.Font = New System.Drawing.Font("Arial", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label3.Location = New System.Drawing.Point(8, 252)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(163, 16)
        Me.Label3.TabIndex = 11
        Me.Label3.Text = "Encrypted/Decrypted Text:"
        '
        'Label4
        '
        Me.Label4.AutoSize = True
        Me.Label4.Font = New System.Drawing.Font("Arial", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label4.Location = New System.Drawing.Point(8, 420)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(101, 16)
        Me.Label4.TabIndex = 12
        Me.Label4.Text = "Encryption Key:"
        '
        'TabControl2
        '
        Me.TabControl2.Controls.Add(Me.tabString)
        Me.TabControl2.Controls.Add(Me.tabFile)
        Me.TabControl2.Dock = System.Windows.Forms.DockStyle.Fill
        Me.TabControl2.Location = New System.Drawing.Point(0, 0)
        Me.TabControl2.Name = "TabControl2"
        Me.TabControl2.SelectedIndex = 0
        Me.TabControl2.Size = New System.Drawing.Size(665, 548)
        Me.TabControl2.TabIndex = 13
        '
        'tabString
        '
        Me.tabString.Controls.Add(Me.Label1)
        Me.tabString.Controls.Add(Me.Label4)
        Me.tabString.Controls.Add(Me.tbSourceText)
        Me.tabString.Controls.Add(Me.Label3)
        Me.tabString.Controls.Add(Me.cbAlgorithm)
        Me.tabString.Controls.Add(Me.Label2)
        Me.tabString.Controls.Add(Me.tbOutputText)
        Me.tabString.Controls.Add(Me.tbKey)
        Me.tabString.Controls.Add(Me.GroupBox1)
        Me.tabString.Controls.Add(Me.btnExecute)
        Me.tabString.Controls.Add(Me.rdoDecrypt)
        Me.tabString.Controls.Add(Me.rdoEncrypt)
        Me.tabString.Location = New System.Drawing.Point(4, 22)
        Me.tabString.Name = "tabString"
        Me.tabString.Padding = New System.Windows.Forms.Padding(3)
        Me.tabString.Size = New System.Drawing.Size(657, 522)
        Me.tabString.TabIndex = 0
        Me.tabString.Text = "String Encryption"
        Me.tabString.UseVisualStyleBackColor = True
        '
        'tabFile
        '
        Me.tabFile.Controls.Add(Me.GroupBox2)
        Me.tabFile.Controls.Add(Me.Label8)
        Me.tabFile.Controls.Add(Me.tbKeyFile)
        Me.tabFile.Controls.Add(Me.btnFileExecute)
        Me.tabFile.Controls.Add(Me.btnOutputFile)
        Me.tabFile.Controls.Add(Me.btnInputFile)
        Me.tabFile.Controls.Add(Me.tbOutputFile)
        Me.tabFile.Controls.Add(Me.tbInputFile)
        Me.tabFile.Controls.Add(Me.Label7)
        Me.tabFile.Controls.Add(Me.cbAlgorithmFile)
        Me.tabFile.Controls.Add(Me.rdoDecryptFile)
        Me.tabFile.Controls.Add(Me.rdoEncryptFile)
        Me.tabFile.Controls.Add(Me.Label6)
        Me.tabFile.Controls.Add(Me.Label5)
        Me.tabFile.Location = New System.Drawing.Point(4, 22)
        Me.tabFile.Name = "tabFile"
        Me.tabFile.Padding = New System.Windows.Forms.Padding(3)
        Me.tabFile.Size = New System.Drawing.Size(657, 522)
        Me.tabFile.TabIndex = 1
        Me.tabFile.Text = "File Encryption"
        Me.tabFile.UseVisualStyleBackColor = True
        '
        'Label5
        '
        Me.Label5.AutoSize = True
        Me.Label5.Font = New System.Drawing.Font("Arial", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label5.Location = New System.Drawing.Point(8, 68)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(65, 16)
        Me.Label5.TabIndex = 0
        Me.Label5.Text = "Input File:"
        '
        'Label6
        '
        Me.Label6.AutoSize = True
        Me.Label6.Font = New System.Drawing.Font("Arial", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label6.Location = New System.Drawing.Point(8, 102)
        Me.Label6.Name = "Label6"
        Me.Label6.Size = New System.Drawing.Size(76, 16)
        Me.Label6.TabIndex = 1
        Me.Label6.Text = "Output File:"
        '
        'Label7
        '
        Me.Label7.AutoSize = True
        Me.Label7.Font = New System.Drawing.Font("Arial", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label7.Location = New System.Drawing.Point(8, 25)
        Me.Label7.Name = "Label7"
        Me.Label7.Size = New System.Drawing.Size(133, 16)
        Me.Label7.TabIndex = 13
        Me.Label7.Text = "Encryption Algorithm:"
        '
        'cbAlgorithmFile
        '
        Me.cbAlgorithmFile.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cbAlgorithmFile.FormattingEnabled = True
        Me.cbAlgorithmFile.Items.AddRange(New Object() {"SHA-1 (Hash)", "SHA-256 (Hash)", "SHA-384 (Hash)", "Rijndael", "Triple-DES", "RSA", "RC2", "DES", "DSA", "MD5 (Hash)", "RNG", "Base-64", "SHA-512 (Hash)"})
        Me.cbAlgorithmFile.Location = New System.Drawing.Point(174, 23)
        Me.cbAlgorithmFile.Name = "cbAlgorithmFile"
        Me.cbAlgorithmFile.Size = New System.Drawing.Size(206, 21)
        Me.cbAlgorithmFile.TabIndex = 10
        '
        'rdoDecryptFile
        '
        Me.rdoDecryptFile.AutoSize = True
        Me.rdoDecryptFile.Location = New System.Drawing.Point(583, 24)
        Me.rdoDecryptFile.Name = "rdoDecryptFile"
        Me.rdoDecryptFile.Size = New System.Drawing.Size(62, 17)
        Me.rdoDecryptFile.TabIndex = 12
        Me.rdoDecryptFile.Text = "Decrypt"
        Me.rdoDecryptFile.UseVisualStyleBackColor = True
        '
        'rdoEncryptFile
        '
        Me.rdoEncryptFile.AutoSize = True
        Me.rdoEncryptFile.Checked = True
        Me.rdoEncryptFile.Location = New System.Drawing.Point(494, 24)
        Me.rdoEncryptFile.Name = "rdoEncryptFile"
        Me.rdoEncryptFile.Size = New System.Drawing.Size(61, 17)
        Me.rdoEncryptFile.TabIndex = 11
        Me.rdoEncryptFile.TabStop = True
        Me.rdoEncryptFile.Text = "Encrypt"
        Me.rdoEncryptFile.UseVisualStyleBackColor = True
        '
        'tbInputFile
        '
        Me.tbInputFile.Location = New System.Drawing.Point(174, 64)
        Me.tbInputFile.Name = "tbInputFile"
        Me.tbInputFile.ReadOnly = True
        Me.tbInputFile.Size = New System.Drawing.Size(367, 20)
        Me.tbInputFile.TabIndex = 14
        '
        'tbOutputFile
        '
        Me.tbOutputFile.Location = New System.Drawing.Point(174, 102)
        Me.tbOutputFile.Name = "tbOutputFile"
        Me.tbOutputFile.ReadOnly = True
        Me.tbOutputFile.Size = New System.Drawing.Size(367, 20)
        Me.tbOutputFile.TabIndex = 15
        '
        'btnInputFile
        '
        Me.btnInputFile.Location = New System.Drawing.Point(547, 61)
        Me.btnInputFile.Name = "btnInputFile"
        Me.btnInputFile.Size = New System.Drawing.Size(75, 23)
        Me.btnInputFile.TabIndex = 16
        Me.btnInputFile.Text = "Browse"
        Me.btnInputFile.UseVisualStyleBackColor = True
        '
        'btnOutputFile
        '
        Me.btnOutputFile.Location = New System.Drawing.Point(547, 100)
        Me.btnOutputFile.Name = "btnOutputFile"
        Me.btnOutputFile.Size = New System.Drawing.Size(75, 23)
        Me.btnOutputFile.TabIndex = 17
        Me.btnOutputFile.Text = "Browse"
        Me.btnOutputFile.UseVisualStyleBackColor = True
        '
        'btnFileExecute
        '
        Me.btnFileExecute.Location = New System.Drawing.Point(264, 309)
        Me.btnFileExecute.Name = "btnFileExecute"
        Me.btnFileExecute.Size = New System.Drawing.Size(153, 23)
        Me.btnFileExecute.TabIndex = 18
        Me.btnFileExecute.Text = "Execute"
        Me.btnFileExecute.UseVisualStyleBackColor = True
        '
        'OpenFileDialog1
        '
        Me.OpenFileDialog1.FileName = "OpenFileDialog1"
        '
        'Label8
        '
        Me.Label8.AutoSize = True
        Me.Label8.Font = New System.Drawing.Font("Arial", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label8.Location = New System.Drawing.Point(8, 200)
        Me.Label8.Name = "Label8"
        Me.Label8.Size = New System.Drawing.Size(101, 16)
        Me.Label8.TabIndex = 20
        Me.Label8.Text = "Encryption Key:"
        '
        'tbKeyFile
        '
        Me.tbKeyFile.Location = New System.Drawing.Point(174, 199)
        Me.tbKeyFile.Name = "tbKeyFile"
        Me.tbKeyFile.Size = New System.Drawing.Size(474, 20)
        Me.tbKeyFile.TabIndex = 19
        Me.tbKeyFile.Text = "Mary Had A Little Lamb"
        '
        'GroupBox2
        '
        Me.GroupBox2.Controls.Add(Me.rdoBase64File)
        Me.GroupBox2.Controls.Add(Me.rdoHexFile)
        Me.GroupBox2.Location = New System.Drawing.Point(174, 140)
        Me.GroupBox2.Name = "GroupBox2"
        Me.GroupBox2.Size = New System.Drawing.Size(471, 35)
        Me.GroupBox2.TabIndex = 21
        Me.GroupBox2.TabStop = False
        '
        'rdoBase64File
        '
        Me.rdoBase64File.AutoSize = True
        Me.rdoBase64File.Location = New System.Drawing.Point(144, 12)
        Me.rdoBase64File.Name = "rdoBase64File"
        Me.rdoBase64File.Size = New System.Drawing.Size(112, 17)
        Me.rdoBase64File.TabIndex = 8
        Me.rdoBase64File.Text = "Base-64 Encoding"
        Me.rdoBase64File.UseVisualStyleBackColor = True
        '
        'rdoHexFile
        '
        Me.rdoHexFile.AutoSize = True
        Me.rdoHexFile.Checked = True
        Me.rdoHexFile.Location = New System.Drawing.Point(6, 12)
        Me.rdoHexFile.Name = "rdoHexFile"
        Me.rdoHexFile.Size = New System.Drawing.Size(92, 17)
        Me.rdoHexFile.TabIndex = 7
        Me.rdoHexFile.TabStop = True
        Me.rdoHexFile.Text = "Hex Encoding"
        Me.rdoHexFile.UseVisualStyleBackColor = True
        '
        'Form1
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(665, 548)
        Me.Controls.Add(Me.TabControl2)
        Me.Name = "Form1"
        Me.Text = ".NET Encryption Test Harness"
        Me.GroupBox1.ResumeLayout(False)
        Me.GroupBox1.PerformLayout()
        Me.TabControl2.ResumeLayout(False)
        Me.tabString.ResumeLayout(False)
        Me.tabString.PerformLayout()
        Me.tabFile.ResumeLayout(False)
        Me.tabFile.PerformLayout()
        Me.GroupBox2.ResumeLayout(False)
        Me.GroupBox2.PerformLayout()
        Me.ResumeLayout(False)

    End Sub
    Friend WithEvents tbSourceText As System.Windows.Forms.TextBox
    Friend WithEvents cbAlgorithm As System.Windows.Forms.ComboBox
    Friend WithEvents tbOutputText As System.Windows.Forms.TextBox
    Friend WithEvents tbKey As System.Windows.Forms.TextBox
    Friend WithEvents btnExecute As System.Windows.Forms.Button
    Friend WithEvents rdoEncrypt As System.Windows.Forms.RadioButton
    Friend WithEvents rdoDecrypt As System.Windows.Forms.RadioButton
    Friend WithEvents rdoHex As System.Windows.Forms.RadioButton
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents TabControl2 As System.Windows.Forms.TabControl
    Friend WithEvents tabString As System.Windows.Forms.TabPage
    Friend WithEvents tabFile As System.Windows.Forms.TabPage
    Friend WithEvents btnFileExecute As System.Windows.Forms.Button
    Friend WithEvents btnOutputFile As System.Windows.Forms.Button
    Friend WithEvents btnInputFile As System.Windows.Forms.Button
    Friend WithEvents tbOutputFile As System.Windows.Forms.TextBox
    Friend WithEvents tbInputFile As System.Windows.Forms.TextBox
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents cbAlgorithmFile As System.Windows.Forms.ComboBox
    Friend WithEvents rdoDecryptFile As System.Windows.Forms.RadioButton
    Friend WithEvents rdoEncryptFile As System.Windows.Forms.RadioButton
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents OpenFileDialog1 As System.Windows.Forms.OpenFileDialog
    Friend WithEvents SaveFileDialog1 As System.Windows.Forms.SaveFileDialog
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents tbKeyFile As System.Windows.Forms.TextBox
    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
    Friend WithEvents rdoBase64File As System.Windows.Forms.RadioButton
    Friend WithEvents rdoHexFile As System.Windows.Forms.RadioButton

End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Toby Emden
Architect
United States United States
Toby Emden has been coding since the early days of 8-bit home computers, when developers had to write pure assembly to get anything worthwhile done. As a mere ankle-biter, his first coding projects included several games written for the ZX Spectrum in pure Z80 assembly code. Nowadays, his languages of choice are C++, C# and Java.
 
A member of the IEEE Computer Society and Worldwide Institute of Software Architects, Toby has spent ten years as an I.T. security executive, delivering enterprise security solutions for Fortune 100 organizations.
 
When not boring people at parties with jokes about cryptography and polymorphism, he enjoys writing, traveling and spending quality time with his wife and three cats. He still hasn't figured out how to cure cancer with .NET, but figures world peace can be solved with a Java wrapper class.

| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 22 Dec 2006
Article Copyright 2006 by Toby Emden
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid