Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Using Asymmetric keys for Encryption

by fuzzyping (Chaplain)
on May 11, 2003 at 22:53 UTC ( [id://257303]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # gpg.pl
    ...
    open(OUT, ">testfile");
    print OUT $ciphertext, "\n";
    close(OUT);
    
  2. or download this
    #!/usr/bin/perl
    # gupg.pl
    ...
     
    die "Decryption failed: ", $pgp->errstr unless $plaintext;
    print $plaintext, "\n";
    
  3. or download this
    #!/usr/bin/perl
    # gpg.pl
    ...
    );
     
    $sth->execute($ciphertext) || die $dbh->stderr;
    
  4. or download this
    #!/usr/bin/perl
    # gupg.pl
    ...
     
    die "Decryption failed: ", $pgp->errstr unless $plaintext;
    print $plaintext, "\n";
    

Log In?
Username:
Password:

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

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

    No recent polls found