I want my application to save the password encrypted in a DB or in a text file. How can I do that assuming that the DB or text file can be open by anyone.
Duplicate
http://stackoverflow.com/questions/287517/encrypting-hashing-plain-text-passwords-in-database
Not duplicate I'm asking for code specific for .NET
EDIT: I'm saving the password for later use, i need to decode it and use it to login. It doesn't have to be super secure, It just needs to be unreadable to the human eye, and difficult to decode with a trivial script.