Re: MD5 Passwords?
| From: | Alexander Wagner | Date: | Wed, 20 Dec 2000 18:03:52 +0000 |
| Subject: | Re: MD5 Passwords? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31266@lists.php.net to get a copy of this message | ||
Devin Atencio wrote:
> I run FreeBSD which uses MD5 passwords and I was wondering how I could have
> my php4
> script create an MD5 password that the FreeBSD system would accept. I
> notice all my
> MD5 passwords in the password file start with $1$ but when I tried like
> md5($password) it comes out very random and never starts with $1$. Does
> anyone know
> how I can do this?
crypt() might work. I heard somewhere it uses the OS-default-method. Perhaps.
regards
Wagner
--
If you can't learn to do something well, learn to enjoy doing it poorly.