On Monday 12 March 2001 18:31, you wrote:

> 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

The "$1$" is the start of a 12-char salt (as described in the manual 
entry for crypt ()).

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Install once, run forever. Linux.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to