file encryption and decryption c# Rijndael cipher
问题 I can encrypt a text file that is located on my desktop using the following code. private void btnEncrypt_Click(object sender, EventArgs e) { //EncryptFile(); try { OpenFileDialog dialog = new OpenFileDialog(); dialog.Filter = "All Files (*.*)|"; dialog.InitialDirectory = @"Desktop"; dialog.Title = "Please select a file to encrypt."; dialog.ShowDialog(); inputFile = dialog.FileName; outputFile = inputFile; string password = @"myKey123"; // Your Key Here UnicodeEncoding UE = new