Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2013 12:10:26 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: setting encrypted password for a user
Message-ID:  <20131225121026.24d8950d@gumby.homeunix.com>
In-Reply-To: <1387876980.48187.YahooMailNeo@web165006.mail.bf1.yahoo.com>
References:  <1387690591.75236.YahooMailNeo@web165002.mail.bf1.yahoo.com> <79C9317F-84B9-4F8F-8D5F-4DE0B63ED056@fisglobal.com> <20131223005530.352d08fb@gumby.homeunix.com> <1FCEF95A-F37A-4A57-B3A8-AE67776749BE@fisglobal.com> <1387876980.48187.YahooMailNeo@web165006.mail.bf1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Dec 2013 01:23:00 -0800 (PST)
M. V. wrote:

> Hi,
> thank you for your answers,
> 
> so if we can't set password by just having MD5, I have to change the
> sender program to calculate and send hash of the passwords using
> salt. thus:
> - ...does anyone know how "salt" is being used in FreeBSD 
> crypt for encryption? is it a simple concatenation,etc or it's more 
> complex than that?

The latter:

http://svn.freebsd.org/base/head/lib/libcrypt/crypt-md5.c












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