NYCPHP Meetup

NYPHP.org

[nycphp-talk] md5 string length max?

Paul Reinheimer preinheimer at gmail.com
Fri Jul 28 11:44:51 EDT 2006


Hit the send button too quick. I mean the individuals memory,
not the computers.


paul


On 7/28/06, Paul Reinheimer <preinheimer at gmail.com> wrote:
>
> 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
>



-- 
Paul Reinheimer
Zend Certified Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060728/b96ef11e/attachment.html>


More information about the talk mailing list