<?xml version="1.0" encoding="windows-1252"?>
<node id="1004567" title="Re: Crypt::CBC how does the header/salt work?" created="2012-11-19 11:16:12" updated="2012-11-19 11:16:12">
<type id="11">
note</type>
<author id="961">
Anonymous Monk</author>
<data>
<field name="doctext">
Think I've got it figured out:

&lt;code&gt;
        my $cipher = Crypt::CBC-&gt;new(
            -cipher =&gt; 'Blowfish',
            -key =&gt; "blahblahblah",
            -iv =&gt; "01234567",
            -header =&gt; 'none'
        );
&lt;/code&gt;

this gives you a random encrypt_hex result with every run because the header isn't included.</field>
<field name="root_node">
1004555</field>
<field name="parent_node">
1004555</field>
<field name="reputation">
2</field>
</data>
</node>
