crash22 has asked for the wisdom of the Perl Monks concerning the following question:

i'm trying to use a program and it uses a password encryption. i'm receiving the following message "The crypt() function is unimplemented due to excessive paranoia". Any thoughts? Should I be paranoid?

20040907 Edit by ysth: change title from: crypt

Replies are listed 'Best First'.
Re: Question about crypt not implemented
by zejames (Hermit) on Sep 07, 2004 at 15:04 UTC
    I guess you are running an quite old version of perl (probably ActivePerl on Windows) and it happens that the crypt function is not implemented due to crypto laws.

    Have a look here for more explaination.

    --
    zejames
Re: Question about crypt not implemented
by gellyfish (Monsignor) on Sep 07, 2004 at 15:07 UTC

    From perldiag:

    The crypt() function is unimplemented due to excessive paranoia (F) Configure couldn't find the crypt() function on your machine, probably because your vendor didn't supply it, probably because they think the U.S. Government thinks it's a secret, or at least that they will continue to pretend that it is. And if you quote me on that, I will deny it.
    WHat version of Perl are you using on what OS?

    /J\

      It looks like it's time to update Perl. Thanks for the help.
      I'm running Perl 5.00503 on a Windows 2000 Server.
Re: Question about crypt not implemented
by borisz (Canon) on Sep 07, 2004 at 15:15 UTC
Re: Question about crypt not implemented
by shenme (Priest) on Sep 07, 2004 at 15:08 UTC
    Try "perl -v" and see what version of Perl you have. I bet it is 5.005_03 or before. It has been awhile since versions of Perl from ActiveState have had that message. The answer is you need to upgrade to a more recent Perl, or give up on using crypt().