By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

encrypting/decrypting xml files

P: n/a
Sam
Hi,
I have a bunch of xml files that are used by my vb application. Those
files were written by hand (ie not generated). Do you know a tool to
encrypt them, so that no one can read their content when opening them,
which would also allow me to decrypt them in my code via some
functions?

Thx

Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Sam
Can someone help please ?

Nov 21 '05 #2

P: n/a
Hi Sam,

Take a look at System.Security.Cryptography namespace members, e.g.
DESCryptoServiceProvider.

For a sample see:

"How To Encrypt and Decrypt a File by Using Visual Basic .NET"
http://support.microsoft.com/kb/301070/

I hope this helps,
Roman
Nov 21 '05 #3

P: n/a
Sam
brilliant !
thx for the link, it's exactely what i needed!

Nov 21 '05 #4

P: n/a
Sam
Actually in this article it is said that instead of using a key and a
IV, one should be able to use a password. That's what i want but it
doesn't work, its size should be equal or greater to a specific number
of bytes and unfortunately I don't know which value is that.
Can you help?

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.