- or download this
#/opt/perl/bin/perl -E 'use Crypt::RSA::Key; my($pari,$big) = ($Math::
+Pari::VERSION, $Math::BigInt::VERSION); my $lib = Math::BigInt->confi
+g()->{lib} if $big; printf "Using %s\n", $pari ? "Pari $pari" : $big
+? "BigInt with $lib" : "???";'
Using BigInt with Math::BigInt::GMP
- or download this
my $ct = $pgp->encrypt( Filename => 'plain.txt', Recipients => $key, C
+ipher => 'DES3' ) or die "Encryption failed: ", $pgp->errstr;
- or download this
#truss ./encrypt_openpgp.pl 2>&1 | grep open | grep Pari
open64("/opt/perl-5.26.0/lib/site_perl/5.26.0/sun4-solaris-thread-mult
+i/Math/Pari.pm", O_RDONLY) = 4
open("/opt/perl-5.26.0/lib/site_perl/5.26.0/sun4-solaris-thread-multi/
+auto/Math/Pari/Pari.so", O_RDONLY) = 4
- or download this
./encrypt_openpgp.pl
No random source available! at /opt/perl-5.26.0/lib/site_perl/5.26.0/C
+rypt/OpenPGP/Util.pm line 111.
- or download this
sub get_random_bytes {
...
112 }
113 }