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

next in thread | previous in thread | raw e-mail | index | archive | help
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).

GB

-- 
GB Clark II  (N5VMF)       | Roaming FreeBSD Admin
gclarkii@GeekTech.COM  | General Geek 
           CTHULU for President - Why choose the lesser of two evils?

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?01072809385111.81434>