Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Crypt::CBC how does the header/salt work?

by Anonymous Monk
on Nov 19, 2012 at 16:16 UTC ( #1004567=note: print w/ replies, xml ) Need Help??


in reply to Crypt::CBC how does the header/salt work?

Think I've got it figured out:

my $cipher = Crypt::CBC->new( -cipher => 'Blowfish', -key => "blahblahblah", -iv => "01234567", -header => 'none' );
this gives you a random encrypt_hex result with every run because the header isn't included.


Comment on Re: Crypt::CBC how does the header/salt work?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2015-07-06 15:50 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 (77 votes), past polls