note
Ryszard
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).
<p>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.</p>
<p>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.</p>
350128
350454