private void btnGenerate_Click(object sender, EventArgs e) { printKeys(); textBoxCrypted.Text = BitConverter.ToString(RSA.encryptText(textBoxEnter.Text)); textBoxDecripted.Text = RSA.decryptBytes(RSA.encryptText(textBoxEnter.Text)); richTextBoxCrypt3DES.Text = BitConverter.ToString(tDESalg.EncryptText(textBoxEnter.Text)); tDESalg.EncryptTextToFile3DES(textBoxEnter.Text); textBoxDECRIPY3DES.Text = tDESalg.DecryptTextFromFile3DES(); tDESalg.SaveKeysToFile3DES(); RSA.SaveKeysToFile(); }