Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

(crazyinsomniac) Re: What's the idea of different salts in crypt()?

by crazyinsomniac (Prior)
on Sep 20, 2001 at 09:22 UTC ( [id://113532]=note: print w/replies, xml ) Need Help??


in reply to What's the idea of different salts in crypt()?

If you're going to be using this for some kind of app, I would lop the salt off (if i didn't use "better" encryption), and have it be formulaic (a combo of the userid, create time and id or linenumber in whatever database type thing you're keeping the list), so that you can "correctly" recreate it for authentication.

If whoever doesn't know the salt, it'll take them twice as long to bruteforce the pass, and chances are, they'll never get it (the salt is half the encryption).

 
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void

perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

  • Comment on (crazyinsomniac) Re: What's the idea of different salts in crypt()?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-23 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found