private void btnDESDecryptFile_Click(object sender, RoutedEventArgs e) { string cryptText = txtBxDecryptText.Text.Trim(); txtBxEncryptText.Text = DESEncrypt.DESDecryptString(cryptText); }
private void btnDesEncryptString_Click(object sender, RoutedEventArgs e) { string decryptText = DESEncrypt.DESEncryptString(txtBxEncryptText.Text.Trim()); txtBxDecryptText.Text = decryptText; }