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 btnRSA_Click(object sender, EventArgs e)
 {
     if (!RSACipher.Visible)
     {
         RSACipher = new frmRSA();
         RSACipher.Show();
     }
     else
     {
         RSACipher.BringToFront();
     }
 }
Exemple #3
0
 private void btnRSA_Click(object sender, EventArgs e)
 {
     if (!RSA.Visible)
     {
         RSA = new frmRSA();
         RSA.Show();
         if (txtMessage.Text != "" && txtKey.Text != "")
         {
             RSA.setMessageAndKey(txtMessage.Text, txtKey.Text);
         }
         this.Close();
     }
 }
Exemple #4
0
        private void frmRSA_FormClosing(object sender, FormClosingEventArgs e)
        {
            frmRSA RSACipher = new frmRSA();

            RSACipher.Close();
        }
Exemple #5
0
 private void frmRSAInfo_Load(object sender, EventArgs e)
 {
     RSA = new frmRSA();
     rdoBtnEncrypt.Checked = true;
 }