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

Re: Crypt() usage

by afoken (Chancellor)
on Jul 30, 2016 at 09:03 UTC ( [id://1168854]=note: print w/replies, xml ) Need Help??


in reply to Crypt() usage

Is the 'crypt' function identical on Windows and *nix platforms?

No. See the thread starting at Re^2: replacing password in a file. Short: Many implementations use DES, but the libc is free to choose any other algorithm: http://pubs.opengroup.org/onlinepubs/9699919799/functions/crypt.html (<-- link is missing in that thread). Relevant quote:

The crypt() function is a string encoding function. The algorithm is implementation-defined.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-24 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found