Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004567]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-12-14 03:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (384 votes). Check out past polls.

    Notices?