Perl crypt()

Tobias Burnus tobias.burnus at
Wed Aug 13 09:56:18 UTC 2003


On Wed, 13 Aug 2003, Mark Ingram wrote:
> Is there any documentation other than
> which would allow me to
> re-create the crypt function so i can check logins correctly?

Well, the crypt manpage looks like this:

The problem is that according to
IEEE Std 1003.1, 2003 Edition,
"The crypt() function is a string encoding function. The algorithm is
implementation-defined. [...] The values returned by this function [crypt]
need not be portable among XSI-conformant systems."
(version 2:
But de-facto are the hashes compatible between different unix systems.

I can't find a good implementation reference, but you might want to try
as a pointer.


More information about the developers mailing list