http://www.perlmonks.org?node_id=1004559


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

It works like that , see also http://search.cpan.org/perldoc/Crypt::CBC#new()