Beispiel #1
0
        private void Decrypt_Click(object sender, RoutedEventArgs e)
        {
            string textToDecrypt   = UserTextToDecrypt.Text;
            string DecryptedString = StringCrypter.Decrypt(textToDecrypt, UserPassWord.Text);

            DecryptedText.Text = DecryptedString;
        }
Beispiel #2
0
        private void Encrypt_Click(object sender, RoutedEventArgs e)
        {
            string textToEncrypt   = UserTextToEncrypt.Text;
            string encryptedString = StringCrypter.Encrypt(textToEncrypt, UserPassWord.Text);

            EncryptedText.Text = encryptedString;
        }