Trouble With Text File Encryption (C#)
Posted on 2008-11-17
I have asked a few questions regarding encryption so far and I am just not grasping the concept. I want to take data that my application generates in string form, and encrypt it, then write it to a text file. I think want to programmatically be able to retrieve the data, subsequently decrypting it. If someone could write me an example (no links to other examples please) so I can better grasp this concept I would greatly apprecaite it. An easy example would be to simply encrypt the string value "test" and write that to a file. Then have another method that reads the file, decrypts it and displays the word "test" back in a messagebox. Also, I want my keys to be static and hard coded into the app. Thanks!