Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: MD5 password encryption on a no frills script

by archen (Pilgrim)
on Oct 25, 2002 at 15:31 UTC ( #208040=note: print w/ replies, xml ) Need Help??


in reply to Re: MD5 password encryption on a no frills script
in thread MD5 password encryption on a no frills script

Thanks for the advice. Apparently I need to do a bit more research (I'm FAR from a cryptography expert) since I haven't really heard of SHA-1 before. I'm not exactly sure how MD5 would have problems, but the 160bit hash length of SHA1 vs 128 of MD5 makes sense to me. I'm mainly doing a password authentication type system for a few CGI scripts so speed isn't much of an issue anyway. Unfortunately it looks like there isn't any convinient password module for SHA-1 on CPAN. Luckily I have time to dig into all this a lot farther.


Comment on Re: Re: MD5 password encryption on a no frills script
Re: Re: Re: MD5 password encryption on a no frills script
by fokat (Deacon) on Oct 25, 2002 at 15:48 UTC
    Pay close attention to wether you will (or think you will) need compatibility with something else. If by any chance, you suspect you would need to generate either .htpasswd files/entries or /etc/passwd files/entries, go the Crypt::PasswdMD5 way.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://208040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-07-24 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls