private void btnDecriptografar_Click(object sender, EventArgs e) { if (txtEntrada.Text != "") { txtSaida.Text = hlp.Decrypt(txtEntrada.Text); } }
public static string GetConfig(string key) { Algar.Utils.Helpers hlp = new Algar.Utils.Helpers(); return(hlp.Decrypt(ConfigurationManager.AppSettings[key].ToString())); }