heh.. I thought java had *everything*... * Thus wrote Brent Clements: > This question was completely off-topic, but here is a site that has code for > java that may help you > > http://locutus.kingwoodcable.com/jfd/crypt.html > > Also, repeat after me...GOOGLE is your FRIEND! > > -Brent > > ----- Original Message ----- > From: "Matt" <computergeek2025@xxxxxxxxxxx> > To: <php-general@xxxxxxxxxxxxx> > Sent: Thursday, October 07, 2004 7:00 PM > Subject: crypt() source > > > > Hi i am new to php, and i am writing a small user authentication script. > In > > the manual i read about using the crypt() function to generate a hash, and > > how you can validate the password using a salt. eg > > if (crypt($userinput, $hash) == $hash) > > > > The code works perfectly, however i am writing an application in java that > i > > want to validate users in the same way. So i need this app to be able to > use Curt -- The above comments may offend you. flame at will. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php