On Thu, 11 May 2000 11:59:46 +0200  "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.

Many thanks for this pointer. I have installed it under VMS and my tests show
that it generates the same password as a Unix box.

Regards,
Dave

--  
David Morriss,                              | Tel: +44 (0)131 451 3262 (DDI)
Systems Manager & Deputy Director,          | FAX: +44 (0)131 451 3261
Computing Services, Heriot-Watt University, | http://www.hw.ac.uk/ 
Edinburgh, EH14 4AS, Scotland, UK           | [EMAIL PROTECTED]

Reply via email to