Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

arhuman's scratchpad

by arhuman (Vicar)
on Jun 02, 2004 at 03:21 UTC ( #359092=scratchpad: print w/replies, xml ) Need Help??

From 'perldoc Crypt::OpenPGP::Cipher'
use Crypt::OpenPGP::Cipher; my $cipher = Crypt::OpenPGP::Cipher->new($name); my $ct = $cipher->encrypt($plaintext); my $pt = $cipher->decrypt($ct);

Valid cipher names ($name) are: IDEA, DES3, Blowfish, Rijndael, Rijndael192, Rijndael256, and Twofish.
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Discipulus]: why perl -e 'print q(\'a string\'),"\n"' gives -bash: syntax error near unexpected token `)' ??
[Discipulus]: i'm not escaping correctly?
[moritz]: Discipulus] iirc bash doesn't let you escape ' with \
[moritz]: not inside a single-qouted string at least
[moritz]: echo 'a'\''

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-11-24 10:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (346 votes). Check out past polls.

    Notices?