>mhm, I think there was a missunderstanding ;)
>I want to know, how long the input-string could be (so that the encoded
>strings, that you get, are unique)

In theory, you are limited by the fact that the MD5 message digest is 128
bits long, so collisions are /possible/, but not /probable/. In practice,
you should be able to throw any two large pieces of text at MD5 and wind
up with different hashes every time.

Which is to say...
        [The MD5 algorithm] takes as input a message of arbitrary length
        and produces as output a 128-bit "fingerprint" or "message digest"
        of the input. It is conjectured that it is computationally
        infeasible to produce two messages having the same message digest,
        or to produce any message having a given prespecified target
        message digest.

        - http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to