Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Crypt::RSA without Pari

by roperl (Beadle)
on Oct 30, 2017 at 19:23 UTC ( [id://1202366]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. 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
    
  2. or download this
    my $ct = $pgp->encrypt( Filename => 'plain.txt', Recipients => $key, C
    +ipher => 'DES3' ) or die "Encryption failed: ", $pgp->errstr;
    
  3. 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
    
  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.
    
  5. or download this
    
     sub get_random_bytes {
    ...
    112         }
    113 }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1202366]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-25 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found