Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

(Guildenstern) Re: Understanding crypt()

by Guildenstern (Deacon)
on Apr 20, 2001 at 18:12 UTC ( #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.

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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2020-10-30 20:18 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (284 votes). Check out past polls.