Exemple #1
0
 private void btnDiffieHellman_Click(object sender, EventArgs e)
 {
     if (!DFCipher.Visible)
     {
         DFCipher = new frmDiffieHellman();
         DFCipher.Show();
         this.Close();
     }
 }
 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 btnDiffieHellman_Click(object sender, EventArgs e)
 {
     if (!diffieHellman.Visible)
     {
         diffieHellman = new frmDiffieHellman();
         diffieHellman.Show();
     }
     else
     {
         diffieHellman.BringToFront();
     }
 }
Exemple #4
0
 private void frmDiffieHellmanInfo_Load(object sender, EventArgs e)
 {
     DFCipher = new frmDiffieHellman();
     updatePrimeNumberList();
 }