Linux / PHP and passwords -( md5 function)
| From: | neil at web100 dot co dot uk | Date: | Mon, 12 Mar 2001 17:31:11 +0000 |
| Subject: | Linux / PHP and passwords -( md5 function) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43505@lists.php.net to get a copy of this message | ||
Hello all
I am trying to generate a MD5 string equal to a known passwords MD5 string , with no luck
in order to make a new password file
i have tried use php's : $value = md5($string);
and $value = crypt($string,$salt);
the passwds in my systems /etc/shadow all start with $1 which i believe is standard for MD5
passwords of 32 length
any one have any ideas ?
Thanks in advance
Neil M