piyush.shourie has asked for the wisdom of the Perl Monks concerning the following question:
I am using Crypt::RSA module, but I am encountering a very peculiar error. Please refer to the following code snippet.
use Crypt::RSA; my $message="This is a sample message."; my $rsa = new Crypt::RSA; my ($public, $private) = $rsa->keygen ( Identity => 'Piyush Shourie <piyush_shourie@infosys.com>', Size => 1024, Password => 'A day so foul & fair', Verbosity => 1, ) or die "1".$rsa->errstr();
The following error message results:
PARI: *** forbidden division t_REAL % t_INT. at C:/Perl/site/lib/Crypt/Random.pm line 93.
Any insight into the cause of this error message and method to correct this behaviour will be highly appreciated.
Regards, PS
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error while using Crypt::RSA module
by PodMaster (Abbot) on Oct 13, 2004 at 02:56 UTC |