예제 #1
0
        private void btnDESDecryptFile_Click(object sender, RoutedEventArgs e)
        {
            string cryptText = txtBxDecryptText.Text.Trim();

            txtBxEncryptText.Text = DESEncrypt.DESDecryptString(cryptText);
        }
예제 #2
0
        private void btnDesEncryptString_Click(object sender, RoutedEventArgs e)
        {
            string decryptText = DESEncrypt.DESEncryptString(txtBxEncryptText.Text.Trim());

            txtBxDecryptText.Text = decryptText;
        }