Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 chanting in the Monastery: (6)
As of 2015-05-03 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (76 votes), past polls