Simple Encryption and Decryption with Cypher class
To simplify this problem i have created a class: Cypher that help you to achive encryption and decryption in a simple manner. Following code demonstrate how to do that with Cypher class.
//To do Encryption
Cypher encryptor = new Cypher(Key);
Result = encryptor.Encrypt(MainString);
//To do Decryption
Cypher decryptor = new Cypher(Key);
Result = decryptor.Decrypt(MainString);
Encryptor is a sample application that demonstrate how to utilize Cypher class.
Encryptor Application : http://www.technobits.net/tb/archives/encryptor.zip
Cypher Source : http://www.technobits.net/tb/archives/cypher.zip