Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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: (15)
As of 2014-08-22 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (158 votes), past polls