XML File and an encryption

  • Thread starter Thread starter Nathan
  • Start date Start date
N

Nathan

I need to encrypt a string before I write it down in my settings XML File,
and then decrypt it when I reload the XML File.

Unfortunately, I have no idea where to get started. Can anyone point me in
the right direction?
 
Here's how to encrypt/decrypt a file:

http://support.microsoft.com/default.aspx?scid=kb;en-us;301070

Cryptography document (MSDN):

http://msdn.microsoft.com/msdnmag/issues/02/06/crypto/default.aspx

Here is a great example:

http://www.codeproject.com/useritems/Secret_Key_Encrption.asp

(Please nore you have to be a FREE member to download the code, but this
article has full code listed)

Another very simple example:

http://www.dotnetspider.com/technology/kbpages/1020.aspx

There are literally thousands of examples all over the Internet. Just search
for 'Cryptography' & 'VB.NET' on Google & you'll see
 

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

Back
Top