private void btnEnkripto_Click(object sender, EventArgs e) { subsituteObject.GenerateKey(); key = DR.key; string plaintexti = txtPlaintext.Text; encQuote = EncryptString(subsituteObject, plaintexti); txtCiphertext.Text = Convert.ToBase64String(encQuote); if (checkBox1.Checked) { textQelsi.Text = " " + key; } }