using System;using System.IO;using System.Security.Cryptography;namespace ConsoleApp_SymmetricalEncryption{ class Program { static void Main(string[] args) { SymmetricalEncryption ss = new SymmetricalEncryption(); ss.EncryptFile(@"C:\error.txt",
public static string GetFileMd5Hash(string strFileFullPath) { // Create a new instance of the MD5CryptoServiceProvider object. System.IO.FileStream fst = null; try { fst = new System.IO.FileStream(strFileFullPath, System.IO.FileMode.Open); System.Sec