crypt() function & windows
crypt() ist not available under windows...
I'm currently (well since aboute half a year or so) in the process of converting a PHP based application (kinokai.de) to Java. One of the things I was struggling with was how to convert the authorization module. With PHP I was using the crypt function which did its Job quite well. I then considered moving the authorization to mysql, as it has a crypt method as well. But unfortunately this method is not available under windows - it always returns null there.
After some searching I finally found a java library that was able to do the same job: privasphere. Although quite old it is working. So if you want to mimic PHP's crypt function with java consider this library...