private void Button_Click(object sender, RoutedEventArgs e)//encripta { if (!string.IsNullOrEmpty(tbxInformacaoEsconder.Text) && !string.IsNullOrEmpty(tbxSenhaEsconder.Text)) { tbxConteudo.Text = Encyipt.encriptografar(tbxInformacaoEsconder, tbxSenhaEsconder); } }
private void Button_Click_1(object sender, RoutedEventArgs e)//desencripta { tbxConteudo.Text = Encyipt.encriptografar(tbxInformacaoEsconder, tbxSenhaEsconder); }