From mboxrd@z Thu Jan 1 00:00:00 1970 From: "James Stevenson" Subject: Re: mcrypt ? Date: Wed, 22 May 2002 13:35:56 +0100 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <003901c2018d$388b6070$0cfea8c0@ezdsp.com> References: <012101c200c6$94f7fd40$0cfea8c0@ezdsp.com> <15594.22897.778388.25242@cerise.nosuchdomain.co.uk> Return-path: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-c-programming@vger.kernel.org > > is there such a function in a linux c libary > > for the md5 crypt the same as crypt() but > > for the more modern shadow passwords > > > > if so. > > which libary ? > > The "crypt" add-on for glibc 2.x supports MD5 password hashes, as well > as DES. The details are in the "libc" Info file (search for "crypt"). unfortunatly i think my info file is out of date. though i do have glibc 2.x i dont suppose you have an exmaple of how it is used to generate md5 password hashes instead of des or any idea of how to get it to work like that. thanks James