boat73 has asked for the wisdom of the Perl Monks concerning the following question:
use Crypt::OpenPGP; $key_id = "Garett Holmes: gaholmes\@yahoo.com"; $data = "Encrypt this"; $pgp = Crypt::OpenPGP->new(); $ciphertext = $pgp->encrypt( Data => $data, Recipient => $key_id, Armour => 1, ) or die "ERROR: " . $pgp->errstr;
Edited by Chady -- added code tags.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Crypt::OpenPGP help!!
by arden (Curate) on Mar 10, 2004 at 16:06 UTC | |
by boat73 (Scribe) on Mar 10, 2004 at 16:34 UTC | |
by arden (Curate) on Mar 10, 2004 at 16:45 UTC |