Quote:Original post by Hard Rock
Alternatively, you can use any encryption scheme you want on the xml data, and then base64 encode the encrytped data.
To read it back, simply convert from base64 to the encrypted data and unencrypt.
The reason for the base 64 encoding is that XML forbids characters greater then a certain value, so that is the easiet way around the problem. Keep in mind that your files will more or less double in size....
I"m not sure why the need for the base64 encoding after the encryption. If you encrypt your xml then its no longer xml so you don't need to worry about the base64 encoding.
The only exception I can think of is perhaps you meant only encrypt part of the file??
Cheers
Chris