Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 1995 23:25:48 -0700 (PDT)
From:      Poul-Henning Kamp <phk@ref.tfs.com>
To:        ywliu@psi.wsl.sinica.edu.tw (Yen-Wei Liu)
Cc:        peter@bonkers.taronga.com, hackers@freebsd.org
Subject:   Re: UNIX crypt() source - the problem solved (fwd)
Message-ID:  <199506030625.XAA12031@ref.tfs.com>
In-Reply-To: <199506031432.OAA18384@psi.wsl.sinica.edu.tw> from "Yen-Wei Liu" at Jun 3, 95 02:31:59 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> There is another question here : I am compiling PINE/IMAPD on FreeBSD 2.0.
> IMAPD requires crypt(). Unfortunately there is only MD5 on my systems.
> Now I wonder if there is a wrapper function named crypt() which take
> advantage of MD5 rather than DES ? If no, I either write my own or
> apply secdist.

The MD5 implementation in FreeBSD is compatible with the DES implementation
in all but one aspect: the crypted password string is longer.

To get the crypt() function, you need to link with -lcrypt.

-- 
Poul-Henning Kamp <phk@login.dknet.dk> -- TRW Financial Systems, Inc.
'All relevant people are pertinent' && 'All rude people are impertinent'
=> 'no rude people are relevant'



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