Depends on the OS. I suggest using md() instead. On Sat, 23 Mar 2002, Steven Walker wrote:
> Is there a string length limitation to crypt()? It generates the same > result for different input strings. I'm using crypt to store access > codes that are generated using uniqid. For example, if I do the > following: > > $encrypted = crypt("3c8d15c9cfe5a", "xx"); > echo $encrytped; > $encrypted = crypt("3c8d15c9cfABC", "xx"); > echo $encrytped; > > it outputs: > xxsZRVVwtwY7Y > xxsZRVVwtwY7Y > > So it appears the crypt is ignoring characters in a string after a > certain point. Am I missing something here? > > Steven J. Walker > Walker Effects > www.walkereffects.com > [EMAIL PROTECTED] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php