Exemplo n.º 1
0
        private void EncyptClick(object sender, RoutedEventArgs e)
        {
            ProtectString ps = new ProtectString();

            results.Items.Add(ps.Encrypt(text.Text));
            System.Diagnostics.Debug.WriteLine(ps.Encrypt(text.Text));
        }
Exemplo n.º 2
0
        private void DecryptClick(object sender, RoutedEventArgs e)
        {
            ProtectString ps = new ProtectString();

            results.Items.Add(ps.Decrypt(results.Items[results.Items.Count - 1].ToString()));
        }
Exemplo n.º 3
0
 private void EncyptClick(object sender, RoutedEventArgs e)
 {
     ProtectString ps = new ProtectString();
     results.Items.Add(ps.Encrypt(text.Text));
     System.Diagnostics.Debug.WriteLine(ps.Encrypt(text.Text));
 }
Exemplo n.º 4
0
 private void DecryptClick(object sender, RoutedEventArgs e)
 {
     ProtectString ps = new ProtectString();
     results.Items.Add(ps.Decrypt(results.Items[results.Items.Count-1].ToString()));
 }