Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 wandering the Monastery: (4)
As of 2014-12-23 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls