|
|
|
|
|
|
|
|
|
namespace _01_Seguridad {
|
|
|
|
|
partial class Form1 {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Variable del diseñador necesaria.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Limpiar los recursos que se estén usando.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
|
|
|
|
|
protected override void Dispose(bool disposing) {
|
|
|
|
|
if (disposing && (components != null)) {
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Código generado por el Diseñador de Windows Forms
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Método necesario para admitir el Diseñador. No se puede modificar
|
|
|
|
|
/// el contenido de este método con el editor de código.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent() {
|
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
|
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.button3 = new System.Windows.Forms.Button();
|
|
|
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
|
|
this.button4 = new System.Windows.Forms.Button();
|
|
|
|
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
|
|
|
this.button5 = new System.Windows.Forms.Button();
|
|
|
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
|
|
|
this.textBox4 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
this.button1.Location = new System.Drawing.Point(34, 23);
|
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
|
this.button1.Size = new System.Drawing.Size(109, 37);
|
|
|
|
|
this.button1.TabIndex = 0;
|
|
|
|
|
this.button1.Text = "MD5";
|
|
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(175, 35);
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(70, 13);
|
|
|
|
|
this.label1.TabIndex = 1;
|
|
|
|
|
this.label1.Text = "Valor HASH: ";
|
|
|
|
|
//
|
|
|
|
|
// openFileDialog1
|
|
|
|
|
//
|
|
|
|
|
this.openFileDialog1.FileName = "openFileDialog1";
|
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
|
|
|
|
this.button2.Location = new System.Drawing.Point(34, 66);
|
|
|
|
|
this.button2.Name = "button2";
|
|
|
|
|
this.button2.Size = new System.Drawing.Size(109, 37);
|
|
|
|
|
this.button2.TabIndex = 2;
|
|
|
|
|
this.button2.Text = "Cifrado Casero";
|
|
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(290, 78);
|
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(75, 13);
|
|
|
|
|
this.label2.TabIndex = 3;
|
|
|
|
|
this.label2.Text = "Texto cifrado: ";
|
|
|
|
|
//
|
|
|
|
|
// textBox1
|
|
|
|
|
//
|
|
|
|
|
this.textBox1.Location = new System.Drawing.Point(149, 75);
|
|
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
|
|
this.textBox1.Size = new System.Drawing.Size(135, 20);
|
|
|
|
|
this.textBox1.TabIndex = 4;
|
|
|
|
|
this.textBox1.Text = "hola cifrado casero";
|
|
|
|
|
//
|
|
|
|
|
// button3
|
|
|
|
|
//
|
|
|
|
|
this.button3.Location = new System.Drawing.Point(34, 109);
|
|
|
|
|
this.button3.Name = "button3";
|
|
|
|
|
this.button3.Size = new System.Drawing.Size(109, 37);
|
|
|
|
|
this.button3.TabIndex = 5;
|
|
|
|
|
this.button3.Text = "DES a fichero";
|
|
|
|
|
this.button3.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
|
|
|
//
|
|
|
|
|
// textBox2
|
|
|
|
|
//
|
|
|
|
|
this.textBox2.Location = new System.Drawing.Point(149, 118);
|
|
|
|
|
this.textBox2.Name = "textBox2";
|
|
|
|
|
this.textBox2.Size = new System.Drawing.Size(135, 20);
|
|
|
|
|
this.textBox2.TabIndex = 7;
|
|
|
|
|
this.textBox2.Text = "Texto a cifrar con DES";
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
this.label3.AutoSize = true;
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(290, 118);
|
|
|
|
|
this.label3.Name = "label3";
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(75, 13);
|
|
|
|
|
this.label3.TabIndex = 6;
|
|
|
|
|
this.label3.Text = "Texto cifrado: ";
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
this.label4.AutoSize = true;
|
|
|
|
|
this.label4.Location = new System.Drawing.Point(290, 133);
|
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(92, 13);
|
|
|
|
|
this.label4.TabIndex = 8;
|
|
|
|
|
this.label4.Text = "Texto descifrado: ";
|
|
|
|
|
//
|
|
|
|
|
// button4
|
|
|
|
|
//
|
|
|
|
|
this.button4.Location = new System.Drawing.Point(34, 152);
|
|
|
|
|
this.button4.Name = "button4";
|
|
|
|
|
this.button4.Size = new System.Drawing.Size(109, 37);
|
|
|
|
|
this.button4.TabIndex = 9;
|
|
|
|
|
this.button4.Text = "AES";
|
|
|
|
|
this.button4.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button4.Click += new System.EventHandler(this.button4_Click);
|
|
|
|
|
//
|
|
|
|
|
// textBox3
|
|
|
|
|
//
|
|
|
|
|
this.textBox3.Location = new System.Drawing.Point(149, 161);
|
|
|
|
|
this.textBox3.Name = "textBox3";
|
|
|
|
|
this.textBox3.Size = new System.Drawing.Size(135, 20);
|
|
|
|
|
this.textBox3.TabIndex = 11;
|
|
|
|
|
this.textBox3.Text = "Texto a cifrar con AES";
|
|
|
|
|
//
|
|
|
|
|
// label5
|
|
|
|
|
//
|
|
|
|
|
this.label5.AutoSize = true;
|
|
|
|
|
this.label5.Location = new System.Drawing.Point(290, 161);
|
|
|
|
|
this.label5.Name = "label5";
|
|
|
|
|
this.label5.Size = new System.Drawing.Size(75, 13);
|
|
|
|
|
this.label5.TabIndex = 12;
|
|
|
|
|
this.label5.Text = "Texto cifrado: ";
|
|
|
|
|
//
|
|
|
|
|
// label6
|
|
|
|
|
//
|
|
|
|
|
this.label6.AutoSize = true;
|
|
|
|
|
this.label6.Location = new System.Drawing.Point(290, 176);
|
|
|
|
|
this.label6.Name = "label6";
|
|
|
|
|
this.label6.Size = new System.Drawing.Size(92, 13);
|
|
|
|
|
this.label6.TabIndex = 13;
|
|
|
|
|
this.label6.Text = "Texto descifrado: ";
|
|
|
|
|
//
|
|
|
|
|
// button5
|
|
|
|
|
//
|
|
|
|
|
this.button5.Location = new System.Drawing.Point(34, 195);
|
|
|
|
|
this.button5.Name = "button5";
|
|
|
|
|
this.button5.Size = new System.Drawing.Size(109, 37);
|
|
|
|
|
this.button5.TabIndex = 14;
|
|
|
|
|
this.button5.Text = "RSA";
|
|
|
|
|
this.button5.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button5.Click += new System.EventHandler(this.button5_Click);
|
|
|
|
|
//
|
|
|
|
|
// label7
|
|
|
|
|
//
|
|
|
|
|
this.label7.AutoSize = true;
|
|
|
|
|
this.label7.Location = new System.Drawing.Point(290, 204);
|
|
|
|
|
this.label7.Name = "label7";
|
|
|
|
|
this.label7.Size = new System.Drawing.Size(75, 13);
|
|
|
|
|
this.label7.TabIndex = 16;
|
|
|
|
|
this.label7.Text = "Texto cifrado: ";
|
|
|
|
|
//
|
|
|
|
|
// textBox4
|
|
|
|
|
//
|
|
|
|
|
this.textBox4.Location = new System.Drawing.Point(149, 204);
|
|
|
|
|
this.textBox4.Name = "textBox4";
|
|
|
|
|
this.textBox4.Size = new System.Drawing.Size(135, 20);
|
|
|
|
|
this.textBox4.TabIndex = 15;
|
|
|
|
|
this.textBox4.Text = "Texto a cifrar con RSA";
|
|
|
|
|
//
|
|
|
|
|
// label8
|
|
|
|
|
//
|
|
|
|
|
this.label8.AutoSize = true;
|
|
|
|
|
this.label8.Location = new System.Drawing.Point(290, 219);
|
|
|
|
|
this.label8.Name = "label8";
|
|
|
|
|
this.label8.Size = new System.Drawing.Size(92, 13);
|
|
|
|
|
this.label8.TabIndex = 17;
|
|
|
|
|
this.label8.Text = "Texto descifrado: ";
|
|
|
|
|
//
|
|
|
|
|
// Form1
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
|
|
|
this.Controls.Add(this.label8);
|
|
|
|
|
this.Controls.Add(this.label7);
|
|
|
|
|
this.Controls.Add(this.textBox4);
|
|
|
|
|
this.Controls.Add(this.button5);
|
|
|
|
|
this.Controls.Add(this.label6);
|
|
|
|
|
this.Controls.Add(this.label5);
|
|
|
|
|
this.Controls.Add(this.textBox3);
|
|
|
|
|
this.Controls.Add(this.button4);
|
|
|
|
|
this.Controls.Add(this.label4);
|
|
|
|
|
this.Controls.Add(this.textBox2);
|
|
|
|
|
this.Controls.Add(this.label3);
|
|
|
|
|
this.Controls.Add(this.button3);
|
|
|
|
|
this.Controls.Add(this.textBox1);
|
|
|
|
|
this.Controls.Add(this.label2);
|
|
|
|
|
this.Controls.Add(this.button2);
|
|
|
|
|
this.Controls.Add(this.label1);
|
|
|
|
|
this.Controls.Add(this.button1);
|
|
|
|
|
this.Name = "Form1";
|
|
|
|
|
this.Text = "Form1";
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
|
|
|
|
private System.Windows.Forms.Button button2;
|
|
|
|
|
private System.Windows.Forms.Label label2;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
|
|
|
private System.Windows.Forms.Button button3;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
|
|
private System.Windows.Forms.Button button4;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox3;
|
|
|
|
|
private System.Windows.Forms.Label label5;
|
|
|
|
|
private System.Windows.Forms.Label label6;
|
|
|
|
|
private System.Windows.Forms.Button button5;
|
|
|
|
|
private System.Windows.Forms.Label label7;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox4;
|
|
|
|
|
private System.Windows.Forms.Label label8;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|