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.
-- 
 OpenVMS:         | Martin Vorlaender         VMS & WNT programmer
 When you KNOW    | work: [EMAIL PROTECTED]
 where you want   |       http://www.pdv-systeme.de/users/martinv/
 to go today.     | home: [EMAIL PROTECTED]

Reply via email to