Author: sailendra123 | Posted on: 10/16/2009 2:39:34 AM | Views : 336

using System; using System.IO; using System.Threading; using System.Text; using System.Security.Cryptography; using System.IO.IsolatedStorage; using System.Collections; using System.Collections.Generic; namespace EncryptionQuestion { public class EncryptorDecryptor { // Fields private byte[] IVByte; private byte[] keyByte; private RijndaelManaged myrijManaged; private string password; private byte[] saltByte; // Methods public EncryptorDecryptor() { this.password = "ram12345"; this.saltByte = Encoding.ASCII.GetBytes("Rimkumarprasadaa"); this.keyByte = null; this.IVByte = null; this.myrijManaged = new RijndaelManaged(); this.GenerateIVandKey(); } public void Encrypt(string InFilePath, string OutFilePath) { Syste ...

Go to the complete details ...