Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!hammer.uoregon.edu!news.mathworks.com!newsgate.duke.edu!usenet From: reese@chem.duke.edu (Charles Reese) Newsgroups: comp.unix.bsd.freebsd.misc Subject: crypt problem Date: Tue, 21 Jan 1997 18:52:37 GMT Organization: Duke University, Durham, NC, USA Lines: 14 Message-ID: <32e50fe7.16848619@news.duke.edu> NNTP-Posting-Host: async249-160.async.duke.edu X-Newsreader: Forte Free Agent 1.1/16.230 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34397 I have compiled in support for crypt in php-2.0b9 and FreeBSD 2.1.6 using the lcrypt FreeBSD library. I am encrypting using line like (PHP scripting): $CryptPass = crypt($Pass1,"_1ftn2jvb"); The problem is about half the time I get what looks like a nice encrypted string and the other half I get something like /.1N0 for the return string. Does anyone have any idea what I am doing wrong here. Thanks Charlie Reese