Hello All,

I'm going to be storing some simple data in an xml file.

The data will have information for session, including username/passwords.

I want to encrypt the username & password associated w/the session.

What's the easiest method/functions to do this? I've only done md5 and matched
the input against the stored string.

The program would:
1) Prompt the user for the password when starting. This is the password used to decrypt all sessions,
and has nothing to do w/the stored/encrypted password.
2) Decrypt the session data in the xml files
3) Store the decrypted session data in memory.
4) Only if the user changes the session username/password would I write to the file (the encrypted) version.


Thanks,

- Ben
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to