On Friday 14 February 2003 03:20, Edward Peloke wrote: > Is there anyway to make crypt() behave like md5() and give the same results > for the same string? All of the passwords for the db I am using had > crpyt() applied to them before they were entered in the db. How do I then > verify that passwords match?
The example in the manual shows how to verify the password. > I just did this: > $test=crypt('test'); > print $test. "<br>"; > $test2=crypt('test'); > print $test2. "<br>"; > > and it printed out two completely different strings. I saw in the > functions list it was talking about salt but I am not sure what that means. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Bank error in your favor. Collect $200. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php