Martin Vorlaender wrote:
> Dan Sugalski <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote:
> > > What would be involved in providing a Unix-compatible crypt()
> > > function?
> >
> > Snagging the source for crypt and making it available to perl.
> > You could do it entirely in perl, I'm sure, or use an XS interface
> > to an existing C crypt implementation. Which would be better depends
> > on whether you have source and how many crypts you need per second.
>
> It has already been done. Look at CPAN for Crypt::UnixCrypt - pure Perl.
>
> I once implemented it for the Non-ActiveState, Non-libdes Win32 perl
> implementations, but it should work on VMS also.
>
> cu,
> Martin
>
> P.S.: Sorry for the late answer - I've been away for a week, and still
> in catchup mode.
Thanks very much. I too had thought I've seen various crypt implementations
on CPAN - I am sure that there is a DES module of one sort or another, as
well as others.
Peter Prymmer