crypt() source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
the EXACT same crypt function as PHP. I cant find any code that will do this 
the same way. Can anyone supply me with some code that will? 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux