Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Simple Crypt::CBC Sample?

by naChoZ (Curate)
on Feb 14, 2013 at 22:24 UTC ( #1018807=note: print w/ replies, xml ) Need Help??


in reply to Simple Crypt::CBC Sample?

Instead of letting Crypt::CBC try and figure out a cipher on its own (where it's clearly picking 'Random' as the cipher you want to use in this case), you can specify one yourself...

my $cipher = Crypt::CBC->new( -key => $key, cipher => 'Rijndael' );

That will cause it to use Crypt::Rijndael for the cipher.

--
Andy


Comment on Re: Simple Crypt::CBC Sample?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2015-07-03 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls