Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: Re: CGI and saving passwordsby Ryszard (Priest) |
on May 04, 2004 at 18:16 UTC ( [id://350469]=note: print w/replies, xml ) | Need Help?? |
At this point in time, AFAIK, the difference between sha1 and md5 and their respective security is prety well academic (I'll stand corrected, i'm not a math/crypto geek).
Another point to note is sha1 can be a little slower to compute than md5, however on modern hardware, the difference is probably not material. All that said, the effort between your code using sha1 and md5 is actually zero, so you may as well use the stronger algorithm right off the bat.
In Section
Seekers of Perl Wisdom
|
|