Hi-
We used Martin Vorlaender's Crypt::UnixCrypt module for the same reason
you need it - no crypt() on Windows.
http://search.cpan.org/search?dist=Crypt-UnixCrypt
However we discovered that it is not *exactly* the same as linux crypt().
That is, for some passwords that contained non-alphanumerics in the first
2 character positions, the hash produced by Crypt::UnixCrypt and linux's
crypt() differed.
If you just need something that works similarly to crypt on windows, this
module works well. But don't use it if you need the hashes to be
portable.
-Tim
On Wed, 19 Apr 2000, indrek siitan wrote:
> Hi,
>
> seems like the standard crypt() function is not implemented
> under Windows. :(
>
> does anyone have a perl source, that does the 3DES crypt()
> encryption? i only need it for a development version, so the
> speed doesn't matter. the production version will run under
> Linux and use the standard crypt() call.
>
>
> Rgds,
> Tfr
>
> --==< [EMAIL PROTECTED] >==< http://tfr.cafe.ee/ >==< +1-504-4467425 >==--
>