Esempio n. 1
0
 private void encryptTdesKeyButton_Click(object sender, EventArgs e)
 {
     String[] encryptedTdesValues = controller.encryptWithRSA();
     try
     {
         this.encryptedTdesBox.Text = "TDES 1: " + encryptedTdesValues[1] + Environment.NewLine + "TDES 2: " + encryptedTdesValues[2]
                                      + Environment.NewLine + "TDES 3: " + encryptedTdesValues[3] + Environment.NewLine + "TDES IV: " + encryptedTdesValues[0];
     }
     catch {
     }
 }