I need an encrypt a xml settings file.
Hey all,
I'm new to this post, so bare with me.
I have a XML file that has some setting of the program,
and also user name and password to a database.
hence i would like to encrypt this file, so no one can read the user name and password.
so my question is what should i use?
and do
any help will be greatly appreciated.
thanks
[383 byte] By [
avdzma] at [2007-11-26 22:37:37]

# 1
so user name and password to a database.
>
> hence i would like to encrypt this file, so no one
> can read the user name and password.
>
> so my question is what should i use?
> and do
>
You need to re-think your design. One cannot securely encrypt the XML file because your program must be able to decrypt it so it must contain the key needed for the decryption. The key can therefor be extracted by any half competent hacker.