Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2001 19:54:41 +0100
From:      Chris Elsworth <chris@shagged.org>
To:        GB Clark II <gclarkii@geektech.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: MD5 and DES hashes
Message-ID:  <20010728195441.A45894@shagged.org>
In-Reply-To: <01072809385111.81434@prime.vsservices.com>; from gclarkii@geektech.com on Sat, Jul 28, 2001 at 09:38:51AM -0500
References:  <20010728012812.A77906@shagged.org> <01072809385111.81434@prime.vsservices.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 28, 2001 at 09:38:51AM -0500, GB Clark II wrote:
> On Friday 27 July 2001 19:28, Chris Elsworth wrote:
> > Hi all,
> >
> > Would anyone know why my system has just started created DES password
> > hashes instead of MD5 ones? Specifically in PHP and Perl, the call to
> > crypt() used to give me, as desired, MD5 hashes. But now it's started
> > giving me DES hashes. I recently supped and remade world etc,
> > mergemaster'ed - so I'm sure it's a recent commit - but does anyone know
> > what commit, and why was this done? Should it have happened?
> >
> > Cheers for any light anyone can shed,
> Hi,
> 
> As far as I know, you can over ride it by sending crypt a salt of '$1$' that 
> will force a MD5 crypt.  That is how I handle it perl. Take a look at 
> crypt(3).

This works for PHP too - thanks :)

-- 
Chris Elsworth  -  Software & Systems Developer  /  Systems Administrator 
girls = time x money (and time is money)         .       chrise@demon.net
      = money^2 (money is root of all evil)     . .    tel: 020 8371 1041 
      = _/(evil^2) = evil                   t h u s    mob: 07968 324 693

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010728195441.A45894>