Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

(Guildenstern) Re: Understanding crypt()

by Guildenstern (Deacon)
on Apr 20, 2001 at 18:12 UTC ( [id://74175]=note: print w/replies, xml ) Need Help??


in reply to Understanding crypt()

This is consistent with how the crypt man page describes its workings. I'm quoting from a RH6.2 system here:

"The returned value points to the encrypted password, a series of 13 printable ASCII characters (the first two characters represent the salt itself)."

This is also what the perl crypt docs imply as well. You can see in the sample code that the first two chars are extracted from the stored password to get the salt value. This is how crypt() has worked for a very long time.

Guildenstern
Negaterd character class uber alles!

Replies are listed 'Best First'.
Re: (Guildenstern) Re: Understanding crypt()
by $code or die (Deacon) on Apr 23, 2001 at 06:18 UTC
    Doesn't hurt to mention it again though does it? :)

    $ perldoc perldoc

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found