in reply to Storing passwords in a DB

If you are using mysql as a back-end DB it has some builtin functions that may be useful Here otherwise maybe your DB has similar ones (assuming a relational DB and not GDBM)

                - Ant
                - Some of my best work - Fish Dinner