Security : Encryption and Decryption from and to a string
This is article is about two simple Encryption and Decryption methods which I wrote using .NET Class Libraries. When you provide a string as a parameter the EncryptFromString method returns an encrypted string. Similarly, when you give the encrypted string to the DecryptFromString method it returns the decrypted string. Before you start you must have, - Visual Studio 2005/2008 Installed Step 1 : Create a Console Application Then open the Program.cs and just after the Main method paste the following code, ------------------------------------------------------------------------------------------------------------- //Encryption Method private static string EncryptToString(string str) { List<uint> objList = new List<uint>(); StringBuilder strBuilder = new StringBuilder(); ...