Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            CipherAlgorithm ca = new CipherAlgorithm();

            tbPT.Text = ca.Decrypt(tbCT.Text, "sblw-3hn8-sqoy19");
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            CipherAlgorithm ca = new CipherAlgorithm();

            tbCipherText.Text = ca.Encrypt(tbPlainText.Text, "sblw-3hn8-sqoy19");
        }