From owner-freebsd-hackers Fri Jun 2 23:27:31 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA06417 for hackers-outgoing; Fri, 2 Jun 1995 23:27:31 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id XAA06407 for ; Fri, 2 Jun 1995 23:27:29 -0700 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id XAA12031; Fri, 2 Jun 1995 23:25:49 -0700 From: Poul-Henning Kamp Message-Id: <199506030625.XAA12031@ref.tfs.com> Subject: Re: UNIX crypt() source - the problem solved (fwd) To: ywliu@psi.wsl.sinica.edu.tw (Yen-Wei Liu) Date: Fri, 2 Jun 1995 23:25:48 -0700 (PDT) Cc: peter@bonkers.taronga.com, hackers@freebsd.org In-Reply-To: <199506031432.OAA18384@psi.wsl.sinica.edu.tw> from "Yen-Wei Liu" at Jun 3, 95 02:31:59 pm Content-Type: text Content-Length: 688 Sender: hackers-owner@freebsd.org Precedence: bulk > 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 -- TRW Financial Systems, Inc. 'All relevant people are pertinent' && 'All rude people are impertinent' => 'no rude people are relevant'