Encrypting & Decrypting String that can be placed in a text file

G

Guest

I'm looking for a way to Encrypt & Decrypt Data in a String Value that can be
placed in a text file. All i'm finding are items that storing the encrypted
value in a text file can be problematic because of special characters. I'm
looking possible at SecureQuerryString, any other option? What is
recommended?
 
J

Jay Pondy

Check out
System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile
 
G

Guest

If i'm not mistaken the HASH is a 1 way encryption. I will need to be able
to go both ways. Or is this portion a 2 way encryption method?

Thanks

Glenn
 
J

Jay Pondy

Sorry - you are correct it is one way.

If i'm not mistaken the HASH is a 1 way encryption. I will need to be able
to go both ways. Or is this portion a 2 way encryption method?

Thanks

Glenn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top