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

Re: Can't pack "unpacked" stuff...

by mkirank (Chaplain)
on Jul 19, 2005 at 08:17 UTC ( #475998=note: print w/ replies, xml ) Need Help??


in reply to Can't pack "unpacked" stuff...

#!/usr/bin/perl use Crypt::CBC; use strict ; use warnings; my $cipher = Crypt::CBC->new(-key => 'test', cipher=> 'DES', -salt => 1) || die "Couldn't create CBC +object"; my $cryptval = $cipher->encrypt_hex('secret word'); print " cryptval1 is $cryptval \n"; $cryptval = $cipher->decrypt_hex($cryptval); print " cryptval2 is $cryptval \n";


Comment on Re: Can't pack "unpacked" stuff...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-04-17 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls