Crypt Limitation?

From: Date: Sat, 23 Mar 2002 08:27:22 +0000
Subject: Crypt Limitation?
Groups: php.general 
Request: Send a blank email to php-general+get-89825@lists.php.net to get a copy of this message
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 steve@walkereffects.com

« previous php.general (#89825) next »