/// <summary> /// this event is used to encrypt data /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnEncrypt_Click(object sender, EventArgs e) { txtEncryptedText.Text = RidjindalEncryption.Encrypt(txtPlainText.Text); }