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 

        $encrypted = crypt("3c8d15c9cfe5a", "xx");
        echo $encrytped;
        $encrypted = crypt("3c8d15c9cfABC", "xx");
        echo $encrytped;

it outputs:

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

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to