I figured out that I was running an older version of Suhosin. Apparently this bug is fixed in Suhosin version 0.9.23 . I upgraded and everything works great now. Thanks for the help. Thodoris wrote: > > > If no salt is provided, PHP will auto-generate a standard two character > salt by default, unless the default encryption type on the system is > MD5, in which case a random MD5-compatible salt is generated. > > http://gr2.php.net/manual/en/function.crypt.php > > Perhaps your PHP compilation or the package are broken. > > -- > Thodoris > > > -- View this message in context: http://www.nabble.com/problem-using-crypt%28%29-without-a-salt-tp21449541p21453524.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php