[nycphp-talk] md5 string length max?
Paul Reinheimer
preinheimer at gmail.com
Fri Jul 28 11:44:14 EDT 2006
MD5 isn't going to encounter any problems hashing passwords, it's
regularily used to hash entire files (just to make sure the one in PHP
was fine I just hashed a 5MB file, biggest one i had handy, no problems)
to ensure they are downloaded without error.
So for passwords, the limit is going to be memory, not the hashing alg.
:)
paul
On 7/28/06, Aaron Fischer <agfische at email.smith.edu> wrote:
>
> Greetings again listers,
>
> Is there a maximum string length that md5() can take? I don't see a
> mention of one in the PHP manual.
>
> I am considering using a salt and md5() to store password information in
> MySQL.
>
> If there is a max string length then I will inform my users when they
> attempt to create a new account. I have seen some web applications
> require a password that is a min of 6 or 8 chars and a max of 32...
>
> Thanks,
>
> -Aaron
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
--
Paul Reinheimer
Zend Certified Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060728/f4f6de7f/attachment.html>
More information about the talk
mailing list