Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by archen (Pilgrim)
on Oct 25, 2002 at 15:31 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://208040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-03-28 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found