Re: [PHP] md5() and string-length?

2004-01-09 Thread Peter Vertes
Sorry my bad; I read your post but I didn't understand it fully.  I agree with the others; there is no theoretical limit (only physical like available memory, disk space, etc..) to the size of a string which you can pass to the md5() function. -Pete On Fri, 2004-01-09 at 12:29, Michael Müller

Re: [PHP] md5() and string-length?

2004-01-09 Thread Mike Migurski
>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 prac

RE: [PHP] md5() and string-length?

2004-01-09 Thread Julien Wadin
No limit for the input string -Message d'origine- De : Michael Müller [mailto:[EMAIL PROTECTED] Envoyé : vendredi 9 janvier 2004 18:29 À : [EMAIL PROTECTED] Objet : Re: [PHP] md5() and string-length? mhm, I think there was a missunderstanding ;) I want to know, how long the input-s

Re: [PHP] md5() and string-length?

2004-01-09 Thread Jason Wong
On Saturday 10 January 2004 01:29, Michael Müller wrote: > 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) Basically, as long as you like (within memory constraints). -- Jason Wong -> Gre

Re: [PHP] md5() and string-length?

2004-01-09 Thread Brad Pauly
On Fri, 2004-01-09 at 10:29, Michael MÃller wrote: > 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) I don't think there is a limit, theoretically. In practice you might have other constrai

Re: [PHP] md5() and string-length?

2004-01-09 Thread Michael Müller
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) Michael

Re: [PHP] md5() and string-length?

2004-01-09 Thread Peter Vertes
It's always a 32 character string. http://us4.php.net/manual/en/function.md5.php -Peter On Fri, 2004-01-09 at 11:30, Michael Müller wrote: Hi, is anybody here who knows the max_length of a string which is encoded by md5()? thx, Michael Berlin, Germany -- perl -e 'print pack("H*", "707

[PHP] md5() and string-length?

2004-01-09 Thread Michael Müller
Hi, is anybody here who knows the max_length of a string which is encoded by md5()? thx, Michael Berlin, Germany -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php