Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!uwm.edu!linac!uchinews!msuinfo!scss3.cl.msu.edu!mrr From: mrr@scss3.cl.msu.edu (Mark Riordan) Newsgroups: comp.unix.bsd Subject: Re: Need a replacement for *crypt(key,salt) Message-ID: <1992Jul16.022231.7878@msuinfo.cl.msu.edu> Date: 16 Jul 92 02:22:31 GMT Article-I.D.: msuinfo.1992Jul16.022231.7878 References: <1992Jul15.145425.9377@waikato.ac.nz> Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University Lines: 9 X-Newsreader: Tin 1.1 PL3 sjhill@waikato.ac.nz writes: : On a version of BSD Unix that I am using, the C Library functions 'crypt' and : '_crypt' are missing. Would someone be able to post a short and simple and : portable (!) bit of code to replace these missing functions? In your neck of the woods, laurel.ocs.mq.edu.au has "libdes", which I believe is the same code as Eric Young posted to comp.sources.misc, which is widely available on FTP sites. I believe this provides a drop-in replacement for "crypt".