Good day, > i started using crypt() > > then changed to mcrypt() > > which was not any good cause of the high ascii characters > > then i read about converting the high ascii characters to hex . > > Is this the ideal way to encrypt passwords or is their > something better.
The crypt() function will generate a standard UNIX crypt password that other programs can understand. UNIX crypt has some limitations (only using the first 8 characters is the major one) but it's good enough for most people and is probably the most widely supported. If you want something stronger, you can use md5(). The examples on php's documentation for this function should help you if you're interested in having other programs use it (to have it the right format and length). ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php