private void frmCryptographer_Load(object sender, EventArgs e)
 {
     ceasarCipher   = new frmCaesar();
     vigenereCipher = new frmVigenere();
     playfairCipher = new frmPlayfair();
     DESCipher      = new frmDES();
     AESCipher      = new frmAES();
     RSACipher      = new frmRSA();
     RSASigature    = new frmRSASignature();
     diffieHellman  = new frmDiffieHellman();
 }
 private void btnAES_Click(object sender, EventArgs e)
 {
     if (!AESCipher.Visible)
     {
         AESCipher = new frmAES();
         AESCipher.Show();
     }
     else
     {
         AESCipher.BringToFront();
     }
 }
Beispiel #3
0
 private void btnAES_Click(object sender, EventArgs e)
 {
     if (!AES.Visible)
     {
         AES = new frmAES();
         AES.Show();
         if (txtMessage.Text != "" && txtKey.Text != "")
         {
             AES.setMessageAndKey(txtMessage.Text, txtKey.Text, txtIV.Text);
         }
         this.Close();
     }
 }
Beispiel #4
0
        private void frmAES_FormClosing(object sender, FormClosingEventArgs e)
        {
            frmAES AESCipher = new frmAES();

            AESCipher.Close();
        }
Beispiel #5
0
 private void frmAESInfo_Load(object sender, EventArgs e)
 {
     rdoBtnEncrypt.Checked = true;
     AES = new frmAES();
 }