Page 1 of 1

Encrypting XML data using PHP

Posted: Thu Mar 15, 2007 10:04 am
by garliu
Hi.

I am using PHP to write to an XML file. Some information written to the XML file may be sensitive (for example: username and password). Is there a way to write this information to the XML file so that it encrypts the data.

Thanks for reading this.

Gar

Posted: Thu Mar 15, 2007 10:28 am
by anjanesh
Why not encrypt it using via php using the mcrypt extension ?

Posted: Thu Mar 15, 2007 11:08 am
by Mordred
What happens to this .xml after it gets created?

Posted: Thu Mar 15, 2007 10:46 pm
by feyd
Hash the username and password (with a high level hash.)

:?: