296 lines
12 KiB
C#
296 lines
12 KiB
C#
namespace KRY_0x05_netcore
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.button3 = new System.Windows.Forms.Button();
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
|
this.textBox4 = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.textBox5 = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.textBox7 = new System.Windows.Forms.TextBox();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.textBox6 = new System.Windows.Forms.TextBox();
|
|
this.button5 = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(105, 198);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
this.button1.TabIndex = 0;
|
|
this.button1.Text = "gen key";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.Location = new System.Drawing.Point(105, 398);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
|
this.button2.TabIndex = 1;
|
|
this.button2.Text = "clear all";
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
//
|
|
// button3
|
|
//
|
|
this.button3.Location = new System.Drawing.Point(105, 278);
|
|
this.button3.Name = "button3";
|
|
this.button3.Size = new System.Drawing.Size(75, 23);
|
|
this.button3.TabIndex = 2;
|
|
this.button3.Text = "encrypt";
|
|
this.button3.UseVisualStyleBackColor = true;
|
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
//
|
|
// textBox1
|
|
//
|
|
this.textBox1.Location = new System.Drawing.Point(105, 108);
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.Size = new System.Drawing.Size(430, 23);
|
|
this.textBox1.TabIndex = 3;
|
|
//
|
|
// textBox2
|
|
//
|
|
this.textBox2.Enabled = false;
|
|
this.textBox2.Location = new System.Drawing.Point(105, 137);
|
|
this.textBox2.Name = "textBox2";
|
|
this.textBox2.ReadOnly = true;
|
|
this.textBox2.Size = new System.Drawing.Size(430, 23);
|
|
this.textBox2.TabIndex = 3;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(46, 111);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(53, 15);
|
|
this.label1.TabIndex = 4;
|
|
this.label1.Text = "message";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(8, 20);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(112, 15);
|
|
this.label2.TabIndex = 5;
|
|
this.label2.Text = "otp - vernam cipher";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(46, 172);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(25, 15);
|
|
this.label3.TabIndex = 4;
|
|
this.label3.Text = "key";
|
|
//
|
|
// textBox3
|
|
//
|
|
this.textBox3.Location = new System.Drawing.Point(105, 169);
|
|
this.textBox3.Name = "textBox3";
|
|
this.textBox3.Size = new System.Drawing.Size(430, 23);
|
|
this.textBox3.TabIndex = 3;
|
|
//
|
|
// textBox4
|
|
//
|
|
this.textBox4.Location = new System.Drawing.Point(105, 249);
|
|
this.textBox4.Name = "textBox4";
|
|
this.textBox4.ReadOnly = true;
|
|
this.textBox4.Size = new System.Drawing.Size(430, 23);
|
|
this.textBox4.TabIndex = 3;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(46, 140);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(31, 15);
|
|
this.label4.TabIndex = 4;
|
|
this.label4.Text = "prep";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(19, 252);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(80, 15);
|
|
this.label5.TabIndex = 4;
|
|
this.label5.Text = "cryptmessage";
|
|
//
|
|
// textBox5
|
|
//
|
|
this.textBox5.Location = new System.Drawing.Point(707, 108);
|
|
this.textBox5.Name = "textBox5";
|
|
this.textBox5.Size = new System.Drawing.Size(404, 23);
|
|
this.textBox5.TabIndex = 6;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(105, 90);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(226, 15);
|
|
this.label6.TabIndex = 7;
|
|
this.label6.Text = "replacing nasty characters in the message";
|
|
this.label6.Visible = false;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label7.Location = new System.Drawing.Point(105, 64);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(413, 19);
|
|
this.label7.TabIndex = 8;
|
|
this.label7.Text = "Allowed characters: ABCDEFGHIJKLMNOPQRSTUVWXYZ <space>";
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(621, 111);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(80, 15);
|
|
this.label8.TabIndex = 9;
|
|
this.label8.Text = "cryptmessage";
|
|
//
|
|
// textBox7
|
|
//
|
|
this.textBox7.Location = new System.Drawing.Point(707, 169);
|
|
this.textBox7.Name = "textBox7";
|
|
this.textBox7.Size = new System.Drawing.Size(404, 23);
|
|
this.textBox7.TabIndex = 11;
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(676, 172);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(25, 15);
|
|
this.label9.TabIndex = 12;
|
|
this.label9.Text = "key";
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Location = new System.Drawing.Point(648, 252);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(53, 15);
|
|
this.label10.TabIndex = 16;
|
|
this.label10.Text = "message";
|
|
//
|
|
// textBox6
|
|
//
|
|
this.textBox6.Location = new System.Drawing.Point(707, 249);
|
|
this.textBox6.Name = "textBox6";
|
|
this.textBox6.ReadOnly = true;
|
|
this.textBox6.Size = new System.Drawing.Size(404, 23);
|
|
this.textBox6.TabIndex = 15;
|
|
//
|
|
// button5
|
|
//
|
|
this.button5.Location = new System.Drawing.Point(707, 278);
|
|
this.button5.Name = "button5";
|
|
this.button5.Size = new System.Drawing.Size(75, 23);
|
|
this.button5.TabIndex = 14;
|
|
this.button5.Text = "decrypt";
|
|
this.button5.UseVisualStyleBackColor = true;
|
|
this.button5.Click += new System.EventHandler(this.button5_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1134, 450);
|
|
this.Controls.Add(this.label10);
|
|
this.Controls.Add(this.textBox6);
|
|
this.Controls.Add(this.button5);
|
|
this.Controls.Add(this.label9);
|
|
this.Controls.Add(this.textBox7);
|
|
this.Controls.Add(this.label8);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.textBox5);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.textBox4);
|
|
this.Controls.Add(this.textBox3);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.textBox2);
|
|
this.Controls.Add(this.textBox1);
|
|
this.Controls.Add(this.button3);
|
|
this.Controls.Add(this.button2);
|
|
this.Controls.Add(this.button1);
|
|
this.Name = "Form1";
|
|
this.Text = "kry-0x05-netcore";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.Button button2;
|
|
private System.Windows.Forms.Button button3;
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox textBox3;
|
|
private System.Windows.Forms.TextBox textBox4;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox textBox5;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.TextBox textBox7;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.TextBox textBox6;
|
|
private System.Windows.Forms.Button button5;
|
|
}
|
|
} |