Exemple #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            CipherSDES cipherText = new CipherSDES(textBox5.Text, textBox2.Text, textBox3.Text);

            textBox6.Text = cipherText.makeAction("Decrypt");
        }
Exemple #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            CipherSDES plainText = new CipherSDES(textBox4.Text, textBox2.Text, textBox3.Text);

            textBox5.Text = plainText.makeAction("Encrypt");
        }